summaryrefslogtreecommitdiffstats
path: root/remote/modules/vmchooser/data
diff options
context:
space:
mode:
authorJonathan Bauer2014-05-23 17:14:20 +0200
committerJonathan Bauer2014-05-23 17:14:20 +0200
commitc9d9ed068b0aa82e487ca23099c6fa622dca00d2 (patch)
tree6eae1440f89ed4536c8e7eeb4cdf93a7283b608d /remote/modules/vmchooser/data
parent[vmchooserX] SLX_VM_NFS can now be a CIFS-share (diff)
downloadtm-scripts-c9d9ed068b0aa82e487ca23099c6fa622dca00d2.tar.gz
tm-scripts-c9d9ed068b0aa82e487ca23099c6fa622dca00d2.tar.xz
tm-scripts-c9d9ed068b0aa82e487ca23099c6fa622dca00d2.zip
[vmchooser] added file_mode and dir_mode to CIFS mount
Diffstat (limited to 'remote/modules/vmchooser/data')
-rwxr-xr-xremote/modules/vmchooser/data/opt/openslx/scripts/systemd-mount_vm_store2
1 files changed, 1 insertions, 1 deletions
diff --git a/remote/modules/vmchooser/data/opt/openslx/scripts/systemd-mount_vm_store b/remote/modules/vmchooser/data/opt/openslx/scripts/systemd-mount_vm_store
index 31b08f67..0915169c 100755
--- a/remote/modules/vmchooser/data/opt/openslx/scripts/systemd-mount_vm_store
+++ b/remote/modules/vmchooser/data/opt/openslx/scripts/systemd-mount_vm_store
@@ -14,5 +14,5 @@ if [ "${SLX_VM_NFS#//}" = "${SLX_VM_NFS}" ]; then
mount -t nfs -o ro,async,nolock "$SLX_VM_NFS" /mnt/vmstore
else
# starts with '//' -> assume CIFS
- mount -t cifs -o guest,ro "$SLX_VM_NFS" /mnt/vmstore
+ mount -t cifs -o guest,ro,file_mode=0644,dir_mode=0755 "$SLX_VM_NFS" /mnt/vmstore
fi