Deprecated: Optional parameter $keys declared before required parameter $cms_id is implicitly treated as a required parameter in /home/www/dev/work/class/blog/CmsKey.php on line 75

Deprecated: Creation of dynamic property lvesu\lvesu\controller\blog\main::$outlink is deprecated in /home/www/dev/work/website/lvesu/template/blog/cms/cms.tpl on line 2

Deprecated: Creation of dynamic property lvesu\lvesu\controller\blog\main::$status is deprecated in /home/www/dev/work/website/lvesu/template/blog/index.head.php on line 2
chmod a+x和chmod u+x区别 - 互联网笔记

略微加速

略速 - 互联网笔记

chmod a+x和chmod u+x区别

2020-04-28 leiting (6586阅读)

标签 Linux

u 表示用户

g 表示用户组

o 表示其它

a 表示所有


chmod a+x a.txt 等价于 chmod +x a.txt

给所有用户给予a.txt文件可执行权限

chmod u+x a.txt

a.txt文件的所有用户可执行权限

chmod g+x a.txt

a.txt用户组可执行权限

chmod o+x a.txt

a.txt其他用户可执行权限


北京半月雨文化科技有限公司.版权所有 京ICP备12026184号-3