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
+16-22Lines changed: 16 additions & 22 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,5 @@
1
1
---
2
-
title: Use Azure CLI for files & ACLs in Azure Data Lake Storage Gen2 (preview)
2
+
title: Use Azure CLI for files & ACLs in Azure Data Lake Storage Gen2
3
3
description: Use the Azure CLI to manage directories and file and directory access control lists (ACL) in storage accounts that have a hierarchical namespace.
4
4
services: storage
5
5
author: normesta
@@ -11,14 +11,12 @@ ms.author: normesta
11
11
ms.reviewer: prishet
12
12
---
13
13
14
-
# Use Azure CLI to manage directories, files, and ACLs in Azure Data Lake Storage Gen2 (preview)
14
+
# Use Azure CLI to manage directories, files, and ACLs in Azure Data Lake Storage Gen2
15
15
16
16
This article shows you how to use the [Azure Command-Line Interface (CLI)](https://docs.microsoft.com/cli/azure/?view=azure-cli-latest) to create and manage directories, files, and permissions in storage accounts that have a hierarchical namespace.
17
17
18
-
> [!IMPORTANT]
19
-
> The `storage-preview` extension that is featured in this article is currently in public preview.
18
+
[Gen1 to Gen2 mapping](https://github.com/Azure/azure-cli-extensions/tree/master/src/storage-preview#mapping-from-adls-gen1-to-adls-gen2) | [Give feedback](https://github.com/Azure/azure-cli-extensions/issues)
20
19
21
-
[Sample](https://github.com/Azure/azure-cli-extensions/tree/master/src/storage-preview#adls-gen2-support) | [Gen1 to Gen2 mapping](https://github.com/Azure/azure-cli-extensions/tree/master/src/storage-preview#mapping-from-adls-gen1-to-adls-gen2) | [Give feedback](https://github.com/Azure/azure-cli-extensions/issues)
22
20
## Prerequisites
23
21
24
22
> [!div class="checklist"]
@@ -55,7 +53,7 @@ This article shows you how to use the [Azure Command-Line Interface (CLI)](https
55
53
56
54
Otherwise, open a browser page at [https://aka.ms/devicelogin](https://aka.ms/devicelogin) and enter the authorization code displayed in your terminal. Then, sign in with your account credentials in the browser.
57
55
58
-
To learn more about different authentication methods, see Sign in with Azure CLI.
56
+
To learn more about different authentication methods, see [Authorize access to blob or queue data with Azure CLI](../common/authorize-data-operations-cli.md).
59
57
60
58
2. If your identity is associated with more than one subscription, then set your active subscription to subscription of the storage account that will host your static website.
61
59
@@ -65,8 +63,8 @@ This article shows you how to use the [Azure Command-Line Interface (CLI)](https
65
63
66
64
Replace the `<subscription-id>` placeholder value with the ID of your subscription.
67
65
68
-
> ![!NOTE]
69
-
> The example presented in this article reflect account key authorization. If you want to use Azure Active Directory (AD) authorization, either set the **AZURE_STORAGE_AUTH_MODE** environment variable to `login` or append `--auth-mode login` to each of these command examples. To learn more about authorization methods, see [Authorize access to blob or queue data with Azure CLI](../common/authorize-data-operations-cli).
66
+
> [!NOTE]
67
+
> The example presented in this article reflect account key authorization. If you want to use Azure Active Directory (AD) authorization, either set the **AZURE_STORAGE_AUTH_MODE** environment variable to `login` or append `--auth-mode login` to each of these command examples. To learn more about authorization methods, see [Authorize access to blob or queue data with Azure CLI](../common/authorize-data-operations-cli.md).
70
68
71
69
## Create a file system
72
70
@@ -131,15 +129,13 @@ Rename or move a directory by using the `az storage fs directory move` command.
131
129
This example renames a directory from the name `my-directory` to the name `my-new-directory` in the same file system.
132
130
133
131
```azurecli
134
-
az storage fs directory move -n my-directory -f my-file-system \
0 commit comments