summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Rettberg2018-03-21 17:20:02 +0100
committerSimon Rettberg2018-03-21 17:20:02 +0100
commit80c71063d62e6f1b8d47cc1a1c75fad9ba9aae0e (patch)
tree3922ad0a9968f74079cfc2d98d0a49e64412625c
parentFix copy&paste error (diff)
downloadtmlite-bwlp-80c71063d62e6f1b8d47cc1a1c75fad9ba9aae0e.tar.gz
tmlite-bwlp-80c71063d62e6f1b8d47cc1a1c75fad9ba9aae0e.tar.xz
tmlite-bwlp-80c71063d62e6f1b8d47cc1a1c75fad9ba9aae0e.zip
[scripts/mount-store] Remove ro option for CIFS
-rwxr-xr-xscripts/mount-store4
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