Module Name:    src
Committed By:   christos
Date:           Tue Jan 29 20:21:02 UTC 2013

Modified Files:
        src/etc: Makefile

Log Message:
spwd.db should be 0600 (Brooks Davis)


To generate a diff of this commit:
cvs rdiff -u -r1.402 -r1.403 src/etc/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/etc/Makefile
diff -u src/etc/Makefile:1.402 src/etc/Makefile:1.403
--- src/etc/Makefile:1.402	Mon Jan 14 15:05:42 2013
+++ src/etc/Makefile	Tue Jan 29 15:21:02 2013
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.402 2013/01/14 20:05:42 mlelstv Exp $
+#	$NetBSD: Makefile,v 1.403 2013/01/29 20:21:02 christos Exp $
 #	from: @(#)Makefile	8.7 (Berkeley) 5/25/95
 
 # Environment variables without default values:
@@ -260,8 +260,10 @@ install-etc-files: .PHONY .MAKE check_DE
 	    ${DESTDIR}/etc/master.passwd
 .if ${MKUNPRIVED} != "no"
 	( \
-		for metaent in passwd pwd.db spwd.db; do \
-	    		echo "./etc/$${metaent} type=file mode=0644 uname=root gname=wheel tags=etc_pkg"; \
+		mode=0600; \
+		for metaent in spwd.db passwd pwd.db; do \
+	    		echo "./etc/$${metaent} type=file mode=$${mode} uname=root gname=wheel tags=etc_pkg"; \
+			mode=0644; \
 		done; \
 	) | ${METALOG.add}
 .endif	# MKUNPRIVED != no

Reply via email to