已采納回答 / 慕勒0097041
setfacl -x 文件名 刪除指定acl權(quán)限............-b…………刪除所有權(quán)限............-k…………刪除默認(rèn)權(quán)限
2018-03-12
權(quán)限溢出可以這樣解決啊
先 setfacl -m u:lw:r -R av
再 setfacl -m u:lw:rx av
嘿 你他娘的真是個天才(滑稽)
先 setfacl -m u:lw:r -R av
再 setfacl -m u:lw:rx av
嘿 你他娘的真是個天才(滑稽)
2018-02-16
即使目錄被賦予了SGID權(quán)限,并且目錄是775,普通文件也無法在目錄下創(chuàng)建文件。普通用戶必須對目錄有寫權(quán)限,也就三目錄必須是777,才能在目錄下面新建文件。
2018-02-12
即使目錄被賦予了SGID權(quán)限,并且目錄是775,普通文件也無法在目錄下創(chuàng)建文件。普通用戶必須對目錄有寫文件,也就三目錄必須是777,才能在目錄下面新建文件。
2018-02-12
#!/bin/bash
find / -perm -4000 -o -perm -2000 > /root/suid_temp
for i in $(cat /root/suid_temp)
do
grep $i /root/suid.log > /dev/null
if [ "$?" != "0" ];then
echo "$i wrong suid add now" >> /root/suid.wrong.log_$(date +%F)
fi
done
find / -perm -4000 -o -perm -2000 > /root/suid_temp
for i in $(cat /root/suid_temp)
do
grep $i /root/suid.log > /dev/null
if [ "$?" != "0" ];then
echo "$i wrong suid add now" >> /root/suid.wrong.log_$(date +%F)
fi
done
2018-02-11
最贊回答 / 霸氣老楊
試過就知道了,不要不做就在那想什么就問什么,普通用戶可以改自己的文件權(quán)限,不能改其他的權(quán)限,root能改全部權(quán)限
最新回答 / 慕無忌7233295
【蜘蛛俠TG@abin789】-6801【蜘蛛俠TG@abin789】-6802【蜘蛛俠TG@abin789】-6803【蜘蛛俠TG@abin789】-6804【蜘蛛俠TG@abin789】-6805【蜘蛛俠TG@abin789】-6806【蜘蛛俠TG@abin789】-6807【蜘蛛俠TG@abin789】-6808【蜘蛛俠TG@abin789】-6809【蜘蛛俠TG@abin789】-6810【蜘蛛俠TG@abin789】-6811【蜘蛛俠TG@abin789】-6812【蜘蛛俠TG@abin789】...
2017-12-16