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
| List /Oregon/Portland/ |`--X`|`--X`|`R-X`|`---`|
109
111
112
+
### Deleting directories
113
+
114
+
To delete a directory and all of its contents, the parent directory must have Write + Execute permissions. The directory to be deleted, and every directory within it, requires Read + Write + Execute permissions.
115
+
116
+
### Which permissions are required to recursively delete a directory and its contents?
117
+
118
+
- The caller has 'super-user' permissions,
119
+
120
+
Or
121
+
122
+
- The parent directory must have Write + Execute permissions.
123
+
- The directory to be deleted, and every directory within it, requires Read + Write + Execute permissions.
124
+
110
125
> [!NOTE]
111
-
> Write permissions on the file are not required to delete it, so long as the previous two conditions are true.
126
+
> You do not need Write permissions to delete files in directories. Also, the root directory "/" can never be deleted.
0 commit comments