diff options
author | Simon Rettberg | 2015-04-23 14:43:40 +0200 |
---|---|---|
committer | Simon Rettberg | 2015-04-23 14:43:40 +0200 |
commit | d4923838bab2d213e42ac4aa4277b179e5155226 (patch) | |
tree | cd66004e73fe59d7bfa84b309a5a0ff3d6a57949 /scripts/mount-store | |
parent | Bump (diff) | |
download | tmlite-bwlp-d4923838bab2d213e42ac4aa4277b179e5155226.tar.gz tmlite-bwlp-d4923838bab2d213e42ac4aa4277b179e5155226.tar.xz tmlite-bwlp-d4923838bab2d213e42ac4aa4277b179e5155226.zip |
[mount-store] Don't use unix extensions, so permission checking will happen server side
Diffstat (limited to 'scripts/mount-store')
-rwxr-xr-x | scripts/mount-store | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/mount-store b/scripts/mount-store index f44299f..e7e9354 100755 --- a/scripts/mount-store +++ b/scripts/mount-store @@ -71,7 +71,7 @@ elif grep -E -q '^//' <<<$SOURCE; then export PASSWD="$PASSWORD" for sec in ntlmv2 ntlm; do echo " * Trying ${sec}..." - mount -v -t cifs -o rw,uid=0,gid=12345,forceuid,forcegid,file_mode=0664,dir_mode=0775,sec=$sec "$SOURCE" "$DEST" + mount -v -t cifs -o rw,uid=0,gid=12345,forceuid,forcegid,nounix,file_mode=0664,dir_mode=0775,sec=$sec "$SOURCE" "$DEST" RET=$? if [ "$RET" -eq "0" ]; then echo " * Success!" |