Skip to content

Commit

Permalink
Add permissions to mount point.
Browse files Browse the repository at this point in the history
  • Loading branch information
roncli committed Aug 25, 2021
1 parent b87fa03 commit fed753b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion db/mongo/start.sh
Expand Up @@ -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 ];
Expand Down

0 comments on commit fed753b

Please sign in to comment.