diff --git a/db/mongo/start.sh b/db/mongo/start.sh index 0b8feeec..17d6ceb9 100644 --- a/db/mongo/start.sh +++ b/db/mongo/start.sh @@ -3,7 +3,7 @@ if [ $USE_AZURE_FILE_STORAGE -eq 1 ]; then # Mount Azure Storage file share. - mount -t cifs $(cat $DB_FILES_URI) /data/db -o vers=3.0,username=$(cat $DB_FILES_USERNAME),password=$(cat $DB_FILES_PASSWORD),dir_mode=0755,file_mode=0755,serverino + mount -t cifs $(cat $DB_FILES_URI) /data/db -o vers=3.0,username=$(cat $DB_FILES_USERNAME),password=$(cat $DB_FILES_PASSWORD),dir_mode=0755,file_mode=0755,serverino,uid=mongodb,gid=mongodb fi if [ -f /data/db/initialized ];