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: includes/storage-files-aad-permissions-and-mounting.md
+10-9Lines changed: 10 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -82,22 +82,14 @@ The following sets of permissions are supported on the root directory of a file
82
82
- NT AUTHORITY\SYSTEM:(F)
83
83
- CREATOR OWNER:(OI)(CI)(IO)(F)
84
84
85
-
### Configure NTFS permissions with icacls
86
-
Use the following Windows command to grant full permissions to all directories and files under the file share, including the root directory. Remember to replace the placeholder values in the example with your own values.
For more information on how to use icacls to set NTFS permissions and on the different types of supported permissions, see [the command-line reference for icacls](https://docs.microsoft.com/windows-server/administration/windows-commands/icacls).
93
-
94
85
### Mount a file share from the command prompt
95
86
96
87
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](../articles/storage/files/storage-how-to-use-files-windows.md).
97
88
98
89
```
99
90
net use <desired-drive-letter>: \\<storage-account-name>.file.core.windows.net\<share-name> /user:Azure\<storage-account-name> <storage-account-key>
100
91
```
92
+
101
93
### Configure NTFS permissions with Windows File Explorer
102
94
Use Windows File Explorer to grant full permission to all directories and files under the file share, including the root directory.
103
95
@@ -110,6 +102,15 @@ Use Windows File Explorer to grant full permission to all directories and files
110
102
8. In the **Security** tab, select all permissions you want to grant your new user.
111
103
9. Select **Apply**.
112
104
105
+
### Configure NTFS permissions with icacls
106
+
Use the following Windows command to grant full permissions to all directories and files under the file share, including the root directory. Remember to replace the placeholder values in the example with your own values.
For more information on how to use icacls to set NTFS permissions and on the different types of supported permissions, see [the command-line reference for icacls](https://docs.microsoft.com/windows-server/administration/windows-commands/icacls).
113
+
113
114
## 4. Mount a file share from a domain-joined VM
114
115
115
116
The following process verifies that your file share and access permissions were set up correctly and that you can access an Azure File share from a domain-joined VM. Be aware that the share level RBAC role assignment can take some time to be in effect.
0 commit comments