Linux?е???????????λ(sticky bit)???
?????Mr_listening ???????[ 2016/9/1 11:03:54 ] ?????????????? Linux
????Linux?μ???????
??????linux????????????????????????????????????????????????????????????????????з???????????????????????????????????????????????д??????в????????????????????????????????????????????????????????д?????????????????????????????????????????
???????????
?????????????????????????????????????linux?μ??????????????????????????????????μ??????tmp?????????tmp????other?????'rwt'??????????t???????????????????塣
?????????????????????????????tmp??????????????????linux??tmp???????Щ??????????????????????????????????????????????????rwx??????other???????rwt??
?????????????????????other?????????д????????????????????????????????????д?????????????????????????????????
??????????root???????????????′????????cur?????????????777????
??????????cur?????????test1??test2???????????????????????????????????other???????????????
?????????????л??????dh????£???????????????????????????????????????????????????????????/tmp???????????????ó?"rwxrwxrwx"??????????????κ??????????????′??????????????????????????????????????????dh???????????root?????cur???′?????????У????????tmp???????????????????????????????е????????????????????????????????????????
?????????????????????tmp?????????"rwxrwxrwt"???????t??????????????á?
???????λ?????λ??
?????????????t???????????????????????λ(sticky bit)???????????cur??????chmod o+t??????other??????????λ??
???????????????л???dh????????????????????????????????
?????????????????????????????root???????????????????????λ?????á?
???????λ????????????????????????????????????λ???????????????ü????д?????????????ü???????????????????????????и?????????????root??????????????????????????λ?????????????????????????????????????????д?????????????????????????????????????
???????????
????????????????????????????е???????????????????????????????????????????????п????????
????????У????????cur??other????????????????????'t'??λ??????'T'?????dh?????cur???????????????????????в??????
??????????????б??x???????????? ?????????漲??? ???籾?????λ????x?? ????Щ????? (suid?? sgid?? sticky) ????Сд??? (s?? s?? t).???? ??????д??? (S?? S?? T) ??
???????????
?????????λ????????????????????Ч
????????????Щ????????root????′????????test.c?????????????t?????????dh??????????????????????????????λ????????????????????????????????λ??????????á?
??????

???·???
App??С????H5?????????????????Щ??
2024/9/11 15:34:34?????????????????????????
2024/9/10 11:13:49P-One ???????????????????????????????????????
2024/9/10 10:14:12???????????????????????????
2024/9/9 18:04:26??????????????????
2023/3/23 14:23:39???д?ò??????????
2023/3/22 16:17:39????????????????????Щ??
2022/6/14 16:14:27??????????????????????????
2021/10/18 15:37:44