Wanted behavior
Is it possible to configure the mode flags when using the the cloudstor plugin? Mouting the fileshare with read and write access to everyone is problematic.
Actual behavior
Cloudstor mounts the azure fileshare with mode 777.
Solution
Use the driver options filemode and dirmode mentioned in the documentation.
https://docs.docker.com/docker-for-azure/persistent-data-volumes/#volume-options