We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1b95fa9 commit 5eef25eCopy full SHA for 5eef25e
1 file changed
docs/linux/cli/linux-cli-dir.md
@@ -47,6 +47,21 @@ dr-xr-xr-x 4 root root 4096 Apr 19 2012 boot
47
- 第 2、5、8 位表示写权限,如果用"w"字符表示,则有写权限,如果用"-"字符表示没有写权限。
48
- 第 3、6、9 位表示可执行权限,如果用"x"字符表示,则有执行权限,如果用"-"字符表示,则没有执行权限。
49
50
+```bash
51
+d rwx r-x r-x
52
+↑ ↑↑↑ ↑↑↑ ↑↑↑
53
+│ │││ │││ │││-其他用户执行权限 (x/-)
54
+│ │││ │││ │└─ 其他用户写权限 (w/-)
55
+│ │││ │││ └── 其他用户读权限 (r/-)
56
+│ │││ ││└──── 属组用户执行权限 (x/-)
57
+│ │││ │└───── 属组用户写权限 (w/-)
58
+│ │││ └────── 属组用户读权限 (r/-)
59
+│ ││└──────── 属主用户执行权限 (x/-)
60
+│ │└───────── 属主用户写权限 (w/-)
61
+│ └────────── 属主用户读权限 (r/-)
62
+└──────────── 文件类型 (该文件是目录)
63
+```
64
+
65
#### 1.2.1. Linux 文件属主和属组
66
67
```bash
0 commit comments