Skip to content

Commit 119f128

Browse files
committed
Updates.
1 parent c54979a commit 119f128

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

articles/storage/files/storage-files-identity-ad-ds-assign-permissions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ author: khdownie
55
ms.service: storage
66
ms.subservice: files
77
ms.topic: how-to
8-
ms.date: 12/16/2021
8+
ms.date: 03/16/2022
99
ms.author: kendownie
1010
ms.custom: devx-track-azurepowershell, subject-rbac-steps, devx-track-azurecli
1111
ms.devlang: azurecli

articles/storage/files/storage-files-identity-ad-ds-configure-permissions.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ author: khdownie
55
ms.service: storage
66
ms.subservice: files
77
ms.topic: how-to
8-
ms.date: 09/16/2020
8+
ms.date: 03/16/2022
99
ms.author: kendownie
1010
---
1111

@@ -15,7 +15,6 @@ Before you begin this article, make sure you completed the previous article, [As
1515

1616
After you assign share-level permissions with Azure RBAC, you must configure proper Windows ACLs at the root, directory, or file level, to take advantage of granular access control. The Azure RBAC share-level permissions act as a high-level gatekeeper that determines whether a user can access the share. While the Windows ACLs operate at a more granular level to control what operations the user can do at the directory or file level. Both share-level and file/directory level permissions are enforced when a user attempts to access a file/directory, so if there is a difference between either of them, only the most restrictive one will be applied. For example, if a user has read/write access at the file-level, but only read at a share-level, then they can only read that file. The same would be true if it was reversed, and a user had read/write access at the share-level, but only read at the file-level, they can still only read the file.
1717

18-
If you mount a share and access that share with an account using Elevated Contributor, then Windows will report that you have **Full Access** but you won't unless you assigned permissions at the file-level.
1918

2019
## Applies to
2120
| File share type | SMB | NFS |
@@ -74,7 +73,10 @@ The following permissions are included on the root directory of a file share:
7473

7574
## Mount a file share from the command prompt
7675

77-
Use the Windows `net use` command to mount the Azure file share. Remember to replace the placeholder values in the following example with your own values. For more information about mounting file shares, see [Use an Azure file share with Windows](storage-how-to-use-files-windows.md).
76+
Use the Windows `net use` command to mount the Azure file share. Remember to replace the placeholder values in the following example with your own values. For more information about mounting file shares, see [Use an Azure file share with Windows](storage-how-to-use-files-windows.md).
77+
78+
> [!NOTE]
79+
> You may see the *Full Control** ACL applied to a role already. This typically already offers the ability to assign permissions. However, because there are access checks at two levels (the share-level and the file-level), this is restricted. Only users who have the **SMB Elevated Contributor** role and create a new file or folder can assign permissions on those specific new files or folders without the use of the storage account key. All other permission assignment requires mounting the share with the storage account key, first.
7880
7981
```
8082
$connectTestResult = Test-NetConnection -ComputerName <storage-account-name>.file.core.windows.net -Port 445

0 commit comments

Comments
 (0)