Linux CHMOD 755 与 750 权限集之间的差异
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/19547085/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Differences between CHMOD 755 vs 750 permissions set
提问by Israelm
I have some files with 755 and i need to change them to 750, but i am not sure if this can affect some process.
我有一些 755 的文件,我需要将它们更改为 750,但我不确定这是否会影响某些进程。
I am changin JARs, XMLs, LOGs and properitees files.
我正在更改 JAR、XML、LOG 和属性文件。
Can someone explain to me the difference between these two permission set?
有人可以向我解释这两个权限集之间的区别吗?
Thanks!
谢谢!
采纳答案by Jim Garrison
0755
= User:rwx
Group:r-x
World:r-x
0755
= 用户:rwx
组:r-x
世界:r-x
0750
= User:rwx
Group:r-x
World:---
(i.e. World: no access)
0750
= 用户:rwx
组:r-x
世界:(---
即世界:无访问权限)
r = read
w = write
x = execute (traverse for directories)