linux:chmod
chmod
文件类型 | user | group | other | ||||||
---|---|---|---|---|---|---|---|---|---|
0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 |
读 | 写 | 执行 | 读 | 写 | 执行 | 读 | 写 | 执行 | |
d | r | w | x | r | w | x | r | w | x |
目录 | 4 | 2 | 1 | 4 | 2 | 1 | 4 | 2 | 1 |
- | 6 | 4 | 4 | ||||||
d | 7 | 5 | 5 | ||||||
7 | 7 | 7 |
# 常用文件权限 chmod 644 file # 常用文件夹权限 chmod 755 dictory
linux/chmod.txt · 最后更改: 2020/12/25 13:29 由 admin