zl程序教程

您现在的位置是:首页 >  其它

当前栏目

chmod a+x和chmod u+x区别

区别 chmod
2023-06-13 09:12:33 时间

大家好,又见面了,我是你们的朋友全栈君。

u – 表示用户 (user) g – 表示用户组 (group) o – 表示其它 (others) a – 表示所有(all)(所有等于全部)

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其他用户可执行权限

chmod、chown、chgrp命令的使用字符详解

发布者:全栈程序员栈长,转载请注明出处:https://javaforall.cn/158280.html原文链接:https://javaforall.cn