diff options
author | Simon Rettberg | 2018-03-21 17:20:02 +0100 |
---|---|---|
committer | Simon Rettberg | 2018-03-21 17:20:02 +0100 |
commit | 80c71063d62e6f1b8d47cc1a1c75fad9ba9aae0e (patch) | |
tree | 3922ad0a9968f74079cfc2d98d0a49e64412625c /scripts/mount-store | |
parent | Fix copy&paste error (diff) | |
download | tmlite-bwlp-80c71063d62e6f1b8d47cc1a1c75fad9ba9aae0e.tar.gz tmlite-bwlp-80c71063d62e6f1b8d47cc1a1c75fad9ba9aae0e.tar.xz tmlite-bwlp-80c71063d62e6f1b8d47cc1a1c75fad9ba9aae0e.zip |
[scripts/mount-store] Remove ro option for CIFS
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 |