chmod u+x test.sh 只給擁有者加上可執(zhí)行權(quán)限
chmod g+x test.sh 只給群組身份加上可執(zhí)行權(quán)限
chmod o+x test.sh 只給其他人身份加上可執(zhí)行權(quán)限
chmod a+x test.sh??? 這里的a就代表所有的3中身份里烦!
如果要去掉某個(gè)身份的某個(gè)權(quán)限,只需要將+變?yōu)?即可
mysql load_file在數(shù)據(jù)庫(kù)注入中使用
load_file函數(shù)只有滿足兩個(gè)條件就可以使用:
1、文件權(quán)限:chmod a+x pathtofile
2、文件大小: 必須小于max_allowed_packet