浅谈linux rwxrwxrwt文件夹属性
/tmp的permission是rwxrwxrwt
chmod0777/abc rwxrwxrwx
chmod 777/abc rwxrwxrwx
chmod1777 /abc rwxrwxrwt
The"t"characterinyourpermissionindicatesthatonlytheuser(andtheroot)thathascreatedthefileinsideof/tmpfoldercandelete/modifythatspecificfile.
supposechmod1777/tmp
hereis2part
1and777
1 mean:thisfileonlybedeletedbyroot,itscalledstickybit(iguess)needtocheckagain
rwx rwx rw t
owner group other onlydeletedbyroot
sothisfileisuserhasfullaccess
grouphasfullaccess
otherhasreadandwrite
butthisfileonlybedeletedbyroot
以上这篇浅谈linuxrwxrwxrwt文件夹属性就是小编分享给大家的全部内容了,希望能给大家一个参考,也希望大家多多支持毛票票。