File tree Expand file tree Collapse file tree 1 file changed +0
-18
lines changed Expand file tree Collapse file tree 1 file changed +0
-18
lines changed Original file line number Diff line number Diff line change @@ -250,24 +250,6 @@ The umask for Azure Data Lake Storage Gen2 a constant value that is set to 007.
250
250
| umask.owning_group | 0 | ` --- ` | For owning group, copy the parent's access ACL to the child's default ACL |
251
251
| umask.other | 7 | ` RWX ` | For other, remove all permissions on the child's access ACL |
252
252
253
- The following pseudocode shows how the umask is applied when creating the ACLs for a child item.
254
-
255
- ``` console
256
- def set_default_acls_for_new_child(parent, child):
257
- child.acls = []
258
- for entry in parent.acls :
259
- new_entry = None
260
- if (entry.type == OWNING_USER) :
261
- new_entry = entry.clone(perms = entry.perms & (~umask.owning_user))
262
- elif (entry.type == OWNING_GROUP) :
263
- new_entry = entry.clone(perms = entry.perms & (~umask.owning_group))
264
- elif (entry.type == OTHER) :
265
- new_entry = entry.clone(perms = entry.perms & (~umask.other))
266
- else :
267
- new_entry = entry.clone(perms = entry.perms )
268
- child_acls.add( new_entry )
269
- ```
270
-
271
253
## FAQ
272
254
273
255
### Do I have to enable support for ACLs?
You can’t perform that action at this time.
0 commit comments