Linux权限管理
# chmod [-R] xyz 文件名或目录
owner = rwx = 4+2+1 = 7
group = rwx = 4+2+1 = 7
others= --- = 0+0+0 = 0
chmod | u |
+(加入) |
r w x |
文件或目录 |
g | ||||
o | ||||
a |
# chmod u=rwx,go=rx 文件名
# chmod a-x 文件名 (所有身份的用户拿掉执行的权限)
原文:http://www.cnblogs.com/wujunnan/p/6180702.html