Skip to content

Commit e752844

Browse files
committed
Adding an example
1 parent 8706b0d commit e752844

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

articles/storage/blobs/data-lake-storage-directory-file-acl-cli.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ A file system acts as a container for your files. You can create one by using th
7272
This example creates a file system named `my-file-system`.
7373

7474
```azurecli
75-
az storage container create --name my-file-system
75+
az storage container create --name my-file-system --account-name mystorageaccount
7676
```
7777

7878
## Create a directory
@@ -234,6 +234,12 @@ This example sets the ACL on a directory for the owning user, owning group, or o
234234
az storage blob directory access set -a "user::rw-,group::rw-,other::-wx" -d my-directory -c my-file-system --account-name mystorageaccount
235235
```
236236

237+
This example sets the *default* ACL on a directory for the owning user, owning group, or other users, and then prints the ACL to the console.
238+
239+
```azurecli
240+
az storage blob directory access set -a "default:user::rw-,group::rw-,other::-wx" -d my-directory -c my-file-system --account-name mystorageaccount
241+
```
242+
237243
Use the `az storage blob access set` command to set the acl of a **file**.
238244

239245
This example sets the ACL on a file for the owning user, owning group, or other users, and then prints the ACL to the console.

0 commit comments

Comments
 (0)