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
Copy file name to clipboardExpand all lines: articles/storage/blobs/data-lake-storage-directory-file-acl-cli.md
+5-11Lines changed: 5 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,7 +6,7 @@ author: normesta
6
6
ms.service: storage
7
7
ms.subservice: data-lake-storage-gen2
8
8
ms.topic: conceptual
9
-
ms.date: 05/08/2020
9
+
ms.date: 05/11/2020
10
10
ms.author: normesta
11
11
ms.reviewer: prishet
12
12
---
@@ -28,18 +28,12 @@ This article shows you how to use the [Azure Command-Line Interface (CLI)](https
28
28
29
29
1. Open the [Azure Cloud Shell](https://docs.microsoft.com/azure/cloud-shell/overview?view=azure-cli-latest), or if you've [installed](https://docs.microsoft.com/cli/azure/install-azure-cli?view=azure-cli-latest) the Azure CLI locally, open a command console application such as Windows PowerShell.
30
30
31
-
2. Verify that the version of Azure CLI that have installed is `2.0.67` or higher by using the following command.
31
+
2. Verify that the version of Azure CLI that have installed is `2.5.1` or higher by using the following command.
32
32
33
33
```azurecli
34
34
az --version
35
35
```
36
-
If your version of Azure CLI is lower than `2.0.67`, then install a later version. See [Install the Azure CLI](https://docs.microsoft.com/cli/azure/install-azure-cli?view=azure-cli-latest).
37
-
38
-
3. Install the `storage` extension.
39
-
40
-
```azurecli
41
-
az extension add -n storage
42
-
```
36
+
If your version of Azure CLI is lower than `2.5.1`, then install a later version. See [Install the Azure CLI](https://docs.microsoft.com/cli/azure/install-azure-cli?view=azure-cli-latest).
43
37
44
38
## Connect to the account
45
39
@@ -277,7 +271,7 @@ The following image shows the output after setting the ACL of a file.
277
271
278
272
In this example, the owning user and owning group have only read and write permissions. All other users have write and execute permissions. For more information about access control lists, see [Access control in Azure Data Lake Storage Gen2](data-lake-storage-access-control.md).
279
273
280
-
### Update directory and file permissions
274
+
### Update an ACL
281
275
282
276
Another way to set this permission is to use the `az storage fs access set` command.
283
277
@@ -314,5 +308,5 @@ az storage fs access set --owner xxxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx -p my-dir
314
308
*[Gen1 to Gen2 mapping](https://github.com/Azure/azure-cli-extensions/tree/master/src/storage-preview#mapping-from-adls-gen1-to-adls-gen2)
0 commit comments