You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/books/admin_guide/14-special-authority.md
+10-6Lines changed: 10 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -239,7 +239,7 @@ For ACL permissions, this means that when the parent directory sets ACL permissi
239
239
240
240
!!! info
241
241
242
-
Recursion applies to files/directories that already exist.
242
+
Recursion is suitable for files/directories that already exist in the directory.
243
243
244
244
Look at the following example:
245
245
@@ -295,6 +295,10 @@ default:mask::rwx
295
295
default:other::---
296
296
```
297
297
298
+
!!! info
299
+
300
+
The default and recursion of using ACL permissions require that the operating object of the command be a directory! If the operation object is a file, an error prompt will be output.
| directory | x <br>(Directory and files under the directory) |√ <br>(Files in the directory) | √ <br>(Files in the directory) | √ <br>(Files in the directory) | √ |
566
+
| directory | x <br>(Directory and files under the directory) |x<br>(Files in the directory) | √ <br>(Files in the directory) | √ <br>(Files in the directory) | √ |
563
567
564
568
Examples for files:
565
569
@@ -590,19 +594,19 @@ Shell > mkdir /etc/dira
590
594
Shell >cd /etc/dira &&echo"asdf"> afile
591
595
592
596
Shell > chattr +a /etc/dira
593
-
Shell > lsattr -a /etc/dira
597
+
Shell > lsattr -ad /etc/dira
594
598
-----a--------e----- /etc/dira/
595
599
596
600
Shell > rm -rf /etc/dira
597
601
rm: cannot remove '/etc/dira/afile': Operation not permitted
0 commit comments