Unable to change ownership of mounted partition of Azure file share

Durgesh Palav 21 Reputation points


I am using the Azure file share option on the Azure Linux VM, but for the same we are not able to change the owner of the file share mount directory.

Since it is by default mounted in /mnt/partition, I have mounted it on a separate specific directory but am still unable to change the owner of the directory as well as the files under that.

Also, files and directories created by the other users except the root user are stored with the root permission.

Azure Storage Accounts
Azure Storage Accounts
Globally unique resources that provide access to data management services and serve as the parent namespace for the services.
2,820 questions
0 comments No comments
{count} votes

Accepted answer
  1. Deepanshu katara 6,245 Reputation points

    Hi Durgesh ,

    Welcome to MS Q&A

    Azure File Share does not support manipulation of permissions within the mounted volume. Operations such as chown and chmod will not work with CIFS implementation of the SMB protocol.

    You will either need to create separate volumes for each permissions variation required, or select a different storage class/volume type for your volume.

    Please check below Image and doc link for more ref


    User's image

    kindly accept answer if it helps, please let us know if further questions


    0 comments No comments

0 additional answers

Sort by: Most helpful