1.chmod
2.umask
三位8进制数来表示
chmod和umask的修改的权限位是互补的。
比如:umask 022 对于chmod就是:755
755====>rwxr-xr-x
Similar to the numeric code for the chmod command, the three numbers that are used with umask are as follows.
第一个数字控制用户权限:The first digit controls user permissions
第二个数字控制组权限:The second controls group permissions
第三个数字控制所有其他的权限:The third digit controls permissions for all others
可以参见:docs.sun.com/app/docs/doc/806-7612/6jgfmsvru
编写于【2009-01-15】
2.umask
三位8进制数来表示
chmod和umask的修改的权限位是互补的。
比如:umask 022 对于chmod就是:755
755====>rwxr-xr-x
Similar to the numeric code for the chmod command, the three numbers that are used with umask are as follows.
第一个数字控制用户权限:The first digit controls user permissions
第二个数字控制组权限:The second controls group permissions
第三个数字控制所有其他的权限:The third digit controls permissions for all others
可以参见:docs.sun.com/app/docs/doc/806-7612/6jgfmsvru
编写于【2009-01-15】
本文解释了chmod和umask在文件权限设置中的作用,并详细介绍了如何通过8进制数表示不同用户组的权限。
1506

被折叠的 条评论
为什么被折叠?



