diff options
Diffstat (limited to 'scripts/mount-store')
-rwxr-xr-x | scripts/mount-store | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/mount-store b/scripts/mount-store index 94b868d..cc6766d 100755 --- a/scripts/mount-store +++ b/scripts/mount-store @@ -192,8 +192,8 @@ main () { export USER="$USERNAME" export PASSWD="$PASSWORD" if [ "$RET" != 0 ] && [ -n "$MOUNT_OPTIONS" ]; then - remove_option uid gid file_mode dir_mode umask - MOUNT_OPTIONS="$MOUNT_OPTIONS,uid=0,gid=12345,forceuid,forcegid,file_mode=0664,dir_mode=0775" + remove_option uid gid file_mode dir_mode umask ro + MOUNT_OPTIONS="$MOUNT_OPTIONS,uid=0,gid=12345,forceuid,forcegid,file_mode=0664,dir_mode=0775,rw" exec_mount "cifs" "$MOUNT_OPTIONS" "$SOURCE" "$DEST" return $? fi |