Linux 中的权限 -- 0755 和 0644
http://blog.sina.com.cn/s/blog_986a65250102vd5a.htmlLinux 系统中采用三位十进制数表示权限,如0755, 0644.ABCDA- 0, 表示十进制B-用户C-组用户D-其他用户 --- -> 0 (no excute , no write ,no read)--x ->
·
http://blog.sina.com.cn/s/blog_986a65250102vd5a.html
Linux 系统中采用三位十进制数表示权限,如0755, 0644.
ABCD
A- 0, 表示十进制
B-用户
C-组用户
D-其他用户
---
--x
-w-
-wx
r--
r-x
rw-
rwx
0755->即用户具有读/写/执行权限,组用户和其它用户具有读写权限;
0644->即用户具有读写权限,组用户和其它用户具有只读权限;
一般赋予目录0755权限,文件0644权限。
更多推荐
已为社区贡献4条内容
所有评论(0)