summaryrefslogtreecommitdiffstats
path: root/scripts/mount-store
diff options
context:
space:
mode:
authorSimon Rettberg2015-04-23 14:43:40 +0200
committerSimon Rettberg2015-04-23 14:43:40 +0200
commitd4923838bab2d213e42ac4aa4277b179e5155226 (patch)
treecd66004e73fe59d7bfa84b309a5a0ff3d6a57949 /scripts/mount-store
parentBump (diff)
downloadtmlite-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-xscripts/mount-store2
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!"