rpms/monotone/FC-4 monotone.init,1.3,1.4

Roland McGrath (roland) fedora-extras-commits at redhat.com
Tue Aug 23 09:45:00 UTC 2005


Author: roland

Update of /cvs/extras/rpms/monotone/FC-4
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv5560

Modified Files:
	monotone.init 
Log Message:
Leave server.db with right mode after init.



Index: monotone.init
===================================================================
RCS file: /cvs/extras/rpms/monotone/FC-4/monotone.init,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- monotone.init	23 Aug 2005 09:35:52 -0000	1.3
+++ monotone.init	23 Aug 2005 09:44:58 -0000	1.4
@@ -83,8 +83,8 @@
  	  /usr/bin/install -o ${MONOTONE_USER:-monotone} \
 			   -g ${MONOTONE_GROUP:-monotone} \
 			   -m 0770 -d /var/db/monotone; } &&
-	runuser -s /bin/bash - ${MONOTONE_USER:-monotone} -c \
-	    		"$MT $MONOTONE_RCOPTS $MONOTONE_DBOPTS db init" &&
+	runuser -s /bin/bash - ${MONOTONE_USER:-monotone} -c "umask 007; \
+		$MT $MONOTONE_RCOPTS $MONOTONE_DBOPTS db init" &&
 		success $"database initialization" ||
 		failure $"database initialization"
 	RETVAL=$?




More information about the scm-commits mailing list