[debian-lan-devel] [debian-lan] 03/05: Use Debian default umask, remove modifications.

Andreas B. Mundt andi at moszumanska.debian.org
Tue Oct 21 21:19:16 UTC 2014


This is an automated email from the git hooks/post-receive script.

andi pushed a commit to branch master
in repository debian-lan.

commit 9b6e8a8c2f97811985e256f78c9a81f9dbefb5d1
Author: Andreas B. Mundt <andi at debian.org>
Date:   Tue Oct 21 16:56:21 2014 +0200

    Use Debian default umask, remove modifications.
---
 fai/config/scripts/CLIENT_A/50-umask | 20 --------------------
 fai/config/scripts/SERVER_A/80-umask | 20 --------------------
 2 files changed, 40 deletions(-)

diff --git a/fai/config/scripts/CLIENT_A/50-umask b/fai/config/scripts/CLIENT_A/50-umask
deleted file mode 100755
index b7d09c0..0000000
--- a/fai/config/scripts/CLIENT_A/50-umask
+++ /dev/null
@@ -1,20 +0,0 @@
-#!/usr/sbin/cfagent -f
-
-control:
-   any::
-   actionsequence = ( editfiles )
-   EditFileSize = ( 30000 )
-
-editfiles:
-   any::
-	{ ${target}/etc/pam.d/common-session
-	  ## Set default umask:
-	  AppendIfNoSuchLine "session  optional  pam_umask.so"
-	}
-	{ ${target}/etc/login.defs
-	  ## Modify default umask for more privacy:
-	  BeginGroupIfNoSuchLine "UMASK$(tab)$(tab)027"
-	    ReplaceAll "^UMASK.*" With "UMASK$(tab)$(tab)027"
-	  EndGroup
-
-	}
diff --git a/fai/config/scripts/SERVER_A/80-umask b/fai/config/scripts/SERVER_A/80-umask
deleted file mode 100755
index b7d09c0..0000000
--- a/fai/config/scripts/SERVER_A/80-umask
+++ /dev/null
@@ -1,20 +0,0 @@
-#!/usr/sbin/cfagent -f
-
-control:
-   any::
-   actionsequence = ( editfiles )
-   EditFileSize = ( 30000 )
-
-editfiles:
-   any::
-	{ ${target}/etc/pam.d/common-session
-	  ## Set default umask:
-	  AppendIfNoSuchLine "session  optional  pam_umask.so"
-	}
-	{ ${target}/etc/login.defs
-	  ## Modify default umask for more privacy:
-	  BeginGroupIfNoSuchLine "UMASK$(tab)$(tab)027"
-	    ReplaceAll "^UMASK.*" With "UMASK$(tab)$(tab)027"
-	  EndGroup
-
-	}

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/collab-maint/debian-lan.git



More information about the debian-lan-devel mailing list