权限管理命令
Linux中用户分为
u: user
g: group
o: others
a: all
用户权限分为
r: read
w: write
x: execute
chmod:
作用:change mode,改变文件或目录权限
用法:chmod [{ugoa}{+-=}{rwx}] [目标文件或目录]
[jerry@localhost Test]$ touch chmodtest.file
[jerry@localhost Test]$ ll chmodtest.file
-rw-rw-r--. 1 jerry jerry 0 Oct 21 21:23 chmodtest.file
[jerry