[cpp-sp COMMIT] in /branches/REL_2/configs: shibd-amazon.in shibd-osx.plist.in shibd-redhat.in shibd-suse.in

noreply at shibboleth.net noreply at shibboleth.net
Wed Jul 1 20:11:14 EDT 2015


Author: scantor
Date: Wed Jul  1 20:11:13 2015
New Revision: 3919

URL: http://svn.shibboleth.net/view/cpp-sp?rev=3919&view=rev
Log:
SSPCPP-659 - shibd doesn't set any umask

Modified:
    branches/REL_2/configs/shibd-amazon.in
    branches/REL_2/configs/shibd-osx.plist.in
    branches/REL_2/configs/shibd-redhat.in
    branches/REL_2/configs/shibd-suse.in

Modified: branches/REL_2/configs/shibd-amazon.in
URL: http://svn.shibboleth.net/view/cpp-sp/branches/REL_2/configs/shibd-amazon.in?rev=3919&r1=3918&r2=3919&view=diff
==============================================================================
--- branches/REL_2/configs/shibd-amazon.in	(original)
+++ branches/REL_2/configs/shibd-amazon.in	Wed Jul  1 20:11:13 2015
@@ -25,11 +25,14 @@
 
 shibd="@-PREFIX-@/sbin/shibd"
 SHIBD_USER=root
+SHIBD_UMASK=022
 prog=shibd
 pidfile=@-PKGRUNDIR-@/shibd.pid
 lockfile=/var/lock/subsys/$prog
 
 [ -e /etc/sysconfig/$prog ] && . /etc/sysconfig/$prog
+
+umask $SHIBD_UMASK
 
 start() {
 	echo -n $"Starting $prog: "

Modified: branches/REL_2/configs/shibd-osx.plist.in
URL: http://svn.shibboleth.net/view/cpp-sp/branches/REL_2/configs/shibd-osx.plist.in?rev=3919&r1=3918&r2=3919&view=diff
==============================================================================
--- branches/REL_2/configs/shibd-osx.plist.in	(original)
+++ branches/REL_2/configs/shibd-osx.plist.in	Wed Jul  1 20:11:13 2015
@@ -8,7 +8,7 @@
 	<key>ProgramArguments</key>
 	<array>
 		<string>@-PREFIX-@/sbin/shibd</string>
-        <string>-F</string>
+		<string>-F</string>
 		<string>-f</string>
 		<string>-p</string>
 		<string>@-PKGRUNDIR-@/shibd.pid</string>
@@ -18,5 +18,6 @@
 	<key>OnDemand</key> <true/>
 	<key>StandardErrorPath</key> <string>/dev/null</string>
 	<key>UserName</key> <string>root</string>
+        <key>Umask</key> <string>0022</string>
 </dict>
 </plist>

Modified: branches/REL_2/configs/shibd-redhat.in
URL: http://svn.shibboleth.net/view/cpp-sp/branches/REL_2/configs/shibd-redhat.in?rev=3919&r1=3918&r2=3919&view=diff
==============================================================================
--- branches/REL_2/configs/shibd-redhat.in	(original)
+++ branches/REL_2/configs/shibd-redhat.in	Wed Jul  1 20:11:13 2015
@@ -25,11 +25,14 @@
 
 shibd="@-PREFIX-@/sbin/shibd"
 SHIBD_USER=root
+SHIBD_UMASK=022
 prog=shibd
 pidfile=@-PKGRUNDIR-@/shibd.pid
 lockfile=/var/lock/subsys/$prog
 
 [ -e /etc/sysconfig/$prog ] && . /etc/sysconfig/$prog
+
+umask $SHIBD_UMASK
 
 start() {
 	echo -n $"Starting $prog: "

Modified: branches/REL_2/configs/shibd-suse.in
URL: http://svn.shibboleth.net/view/cpp-sp/branches/REL_2/configs/shibd-suse.in?rev=3919&r1=3918&r2=3919&view=diff
==============================================================================
--- branches/REL_2/configs/shibd-suse.in	(original)
+++ branches/REL_2/configs/shibd-suse.in	Wed Jul  1 20:11:13 2015
@@ -25,6 +25,7 @@
 SCRIPTNAME=/etc/init.d/$NAME
 PID_FILE=@-PKGRUNDIR-@/shibd.pid
 SHIBD_USER=root
+SHIBD_UMASK=022
 DAEMON_OPTS=""
 
 # Force removal of socket
@@ -40,7 +41,9 @@
 DAEMON_OPTS="$DAEMON_OPTS -w 30"
 
 [ -e /etc/sysconfig/$NAME ] && . /etc/sysconfig/$NAME
- 
+
+umask $SHIBD_UMASK
+
 # Exit if the package is not installed.
 test -x "$DAEMON" || exit 5
  



More information about the commits mailing list