From 6435cfd455f6a77c0fc68cbab72cf6e0a351e17a Mon Sep 17 00:00:00 2001 From: Jonathan Bauer Date: Tue, 1 Jul 2014 17:43:39 +0200 Subject: [pam-freiburg] fix files not being executable default file mode 0600 --> 0700 --- .../pam-freiburg/opt/openslx/scripts/pam_script_mount_persistent | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/modules/pam-freiburg/opt/openslx/scripts/pam_script_mount_persistent b/server/modules/pam-freiburg/opt/openslx/scripts/pam_script_mount_persistent index 4033e0c2..ebca86e4 100644 --- a/server/modules/pam-freiburg/opt/openslx/scripts/pam_script_mount_persistent +++ b/server/modules/pam-freiburg/opt/openslx/scripts/pam_script_mount_persistent @@ -18,7 +18,7 @@ if ! grep -q "^${PAM_USER}:" "/etc/passwd"; then if [ ! -z "${CIFS_VOLUME}" ]; then # now we can mount the home directory! - MOUNT_OPTS="-t cifs -o uid=${USER_UID},gid=${USER_GID},forceuid,forcegid,file_mode=0600,dir_mode=0700,nobrl,noacl" + MOUNT_OPTS="-t cifs -o uid=${USER_UID},gid=${USER_GID},forceuid,forcegid,file_mode=0700,dir_mode=0700,nobrl,noacl" export USER="${PAM_USER}" export PASSWD="${PAM_AUTHTOK}" -- cgit v1.2.3-55-g7522