Skip to content

Commit b21c32d

Browse files
committed
Fixing some text
1 parent aebc1a7 commit b21c32d

File tree

1 file changed

+0
-18
lines changed

1 file changed

+0
-18
lines changed

articles/storage/blobs/data-lake-storage-access-control.md

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -250,24 +250,6 @@ The umask for Azure Data Lake Storage Gen2 a constant value that is set to 007.
250250
| umask.owning_group | 0 | `---` | For owning group, copy the parent's access ACL to the child's default ACL |
251251
| umask.other | 7 | `RWX` | For other, remove all permissions on the child's access ACL |
252252

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-
271253
## FAQ
272254

273255
### Do I have to enable support for ACLs?

0 commit comments

Comments
 (0)