From c9d9ed068b0aa82e487ca23099c6fa622dca00d2 Mon Sep 17 00:00:00 2001 From: Jonathan Bauer Date: Fri, 23 May 2014 17:14:20 +0200 Subject: [vmchooser] added file_mode and dir_mode to CIFS mount --- .../modules/vmchooser/data/opt/openslx/scripts/systemd-mount_vm_store | 2 +- .../modules/vmchooser2/data/opt/openslx/scripts/systemd-mount_vm_store | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'remote/modules') 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 diff --git a/remote/modules/vmchooser2/data/opt/openslx/scripts/systemd-mount_vm_store b/remote/modules/vmchooser2/data/opt/openslx/scripts/systemd-mount_vm_store index 31b08f67..0915169c 100755 --- a/remote/modules/vmchooser2/data/opt/openslx/scripts/systemd-mount_vm_store +++ b/remote/modules/vmchooser2/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 -- cgit v1.2.3-55-g7522