Skip to content

Commit 5efdaed

Browse files
authored
Merge pull request #56404 from zr-msft/issue-15461
added explanation paragraph about permissions
2 parents 85afc6b + ede8acd commit 5efdaed

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

articles/virtual-machines/linux/mount-azure-file-storage-on-linux-using-smb.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,7 @@ Mount the Azure file share to the local directory.
9797
sudo mount -t cifs //$STORAGEACCT.file.core.windows.net/myshare /mnt/MyAzureFileShare -o vers=3.0,username=$STORAGEACCT,password=$STORAGEKEY,dir_mode=0777,file_mode=0777,serverino
9898
```
9999

100+
The above command uses the [mount](https://linux.die.net/man/8/mount) command to mount the Azure file share and options specific to [cifs](https://linux.die.net/man/8/mount.cifs). Specifically, the file_mode and dir_mode options set files and directories to permission `0777`. The `0777` permission gives read, write, and execute permissions to all users. You can change these permissions by replacing the values with other [chmod permissions](https://en.wikipedia.org/wiki/Chmod). You can also use other [cifs](https://linux.die.net/man/8/mount.cifs) options such as gid or uid.
100101

101102

102103
## Persist the mount

0 commit comments

Comments
 (0)