Linux???????????????????
?????????? ???????[ 2017/4/20 11:26:39 ] ?????????????? Linux
????1??chmod
????????????????change the permissions mode of a file
??????????????·????/bin/chmod
?????????????????????
??????????chmod [{ugoa}{+-=}{rwx}] [???????]
????[???????] [???????]
????-R ??????
????????????????????????????
????*??????????“??????”????“root???”?????????????????????
????*u?????????g???????飬o?????????a????????
????*????????r(??)??4??w(д)??2??x(???)??1
????????chmod 755 /tmp/test ???????????????rwxr-xr-x??
????*??ж?????????????”д???“?????????????
????2?? chown
????????????????change file ownership
??????????????·????/bin/chown
????????????????????
??????????chown [???] [???????]
?????????????????????????????????
???????????chown yonghu /tmp/test????????/tmp/test?????????yonghu??
????*???root????????????????????
????*?????????????????д???????
????3??chgrp
????????????????change file group ownership
??????????????·????/bin/chgrp
????????????????????
??????????chgrp [?????] [???????]
?????????????????????????????????
???????????chgrp yonghuzu /tmp/test????????/tmp/test?????????yonghuzu??
????4??umask
????????????????the user file-creation mask
??????????????·????Shell????????
????????????????????
??????????umask [-S]
????-S ??rwx?????????????????
??????????????????????????????????
????*???touch?????????????п???????????????????????п????????
????*?????? u=rwx??g=rx??o=rx????????????rw-r--r--
????*????????????????777?????????????????????
????*??????????????u=rwx??g=rx??o=r ??754????777-754=023??
????*???????umask 023
??????
???·???
??????????????????
2023/3/23 14:23:39???д?ò??????????
2023/3/22 16:17:39????????????????????Щ??
2022/6/14 16:14:27??????????????????????????
2021/10/18 15:37:44???????????????
2021/9/17 15:19:29???·???????·
2021/9/14 15:42:25?????????????
2021/5/28 17:25:47??????APP??????????
2021/5/8 17:01:11