az dls fs access

Manage Data Lake Store filesystem access and permissions.

Commands

az dls fs access remove-all Remove the access control list for a file or folder.
az dls fs access remove-entry Remove entries for the access control list of a file or folder.
az dls fs access set Replace the existing access control list for a file or folder.
az dls fs access set-entry Update the access control list for a file or folder.
az dls fs access set-owner Set the owner information for a file or folder in a Data Lake Store account.
az dls fs access set-permission Set the permissions for a file or folder in a Data Lake Store account.
az dls fs access show Display the access control list (ACL).

az dls fs access remove-all

Remove the access control list for a file or folder.

az dls fs access remove-all --account
--path
[--default-acl]

Required Parameters

--account -n
Name of the Data Lake Store account.
--path
The path in the specified Data Lake Store account where the action should take place. In the format '/folder/file.txt', where the first '/' after the DNS indicates the root of the file system.

Optional Parameters

--default-acl
A switch that, if specified, indicates that the remove ACL operation should remove the default ACL of the folder. Otherwise the regular ACL is removed.

az dls fs access remove-entry

Remove entries for the access control list of a file or folder.

az dls fs access remove-entry --account
--acl-spec
--path

Required Parameters

--account -n
Name of the Data Lake Store account.
--acl-spec
The ACL specification to set on the path in the format '[default:]user|group|other:[entity id or UPN]:r|-w|-x|-,[default:]user|group|other:[entity id or UPN]:r|-w|-x|-,...'.
--path
The path in the specified Data Lake Store account where the action should take place. In the format '/folder/file.txt', where the first '/' after the DNS indicates the root of the file system.

az dls fs access set

Replace the existing access control list for a file or folder.

az dls fs access set --account
--acl-spec
--path

Required Parameters

--account -n
Name of the Data Lake Store account.
--acl-spec
The ACL specification to set on the path in the format '[default:]user|group|other:[entity id or UPN]:r|-w|-x|-,[default:]user|group|other:[entity id or UPN]:r|-w|-x|-,...'.
--path
The path in the specified Data Lake Store account where the action should take place. In the format '/folder/file.txt', where the first '/' after the DNS indicates the root of the file system.

az dls fs access set-entry

Update the access control list for a file or folder.

az dls fs access set-entry --account
--acl-spec
--path

Required Parameters

--account -n
Name of the Data Lake Store account.
--acl-spec
The ACL specification to set on the path in the format '[default:]user|group|other:[entity id or UPN]:r|-w|-x|-,[default:]user|group|other:[entity id or UPN]:r|-w|-x|-,...'.
--path
The path in the specified Data Lake Store account where the action should take place. In the format '/folder/file.txt', where the first '/' after the DNS indicates the root of the file system.

az dls fs access set-owner

Set the owner information for a file or folder in a Data Lake Store account.

az dls fs access set-owner --account
--path
[--group]
[--owner]

Required Parameters

--account -n
Name of the Data Lake Store account.
--path
The path in the specified Data Lake Store account where the action should take place. In the format '/folder/file.txt', where the first '/' after the DNS indicates the root of the file system.

Optional Parameters

--group
The group Azure Active Directory object ID or user principal name to set as the owning group.
--owner
The user Azure Active Directory object ID or user principal name to set as the owner.

az dls fs access set-permission

Set the permissions for a file or folder in a Data Lake Store account.

az dls fs access set-permission --account
--path
--permission

Required Parameters

--account -n
Name of the Data Lake Store account.
--path
The path in the specified Data Lake Store account where the action should take place. In the format '/folder/file.txt', where the first '/' after the DNS indicates the root of the file system.
--permission
The octal representation of the permissions for user, group and mask.

az dls fs access show

Display the access control list (ACL).

az dls fs access show --account
--path

Required Parameters

--account -n
Name of the Data Lake Store account.
--path
The path in the specified Data Lake Store account where the action should take place. In the format '/folder/file.txt', where the first '/' after the DNS indicates the root of the file system.