52-chmod

Posted 认真的coder

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了52-chmod相关的知识,希望对你有一定的参考价值。

文件有三种身份

  • owner:文件所有者
  • group:同用户组
  • others:其他非本用户组

身份又分别有三个权限

  • read
  • wirte
  • execute

文件的权限字符为:

-rwxrwxrwx

分别对应:owner\\group\\others
权限如下:

  • r:4
  • w:2
  • x:1

使用示例:

chmod -R 740 /usr/local/test/

以上是关于52-chmod的主要内容,如果未能解决你的问题,请参考以下文章