Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/etc explicitly set the umask to 022 to be safe



details:   https://anonhg.NetBSD.org/src/rev/d54f9e233e97
branches:  trunk
changeset: 509643:d54f9e233e97
user:      lukem <lukem%NetBSD.org@localhost>
date:      Wed May 09 16:53:45 2001 +0000

description:
explicitly set the umask to 022 to be safe

diffstat:

 etc/rc |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (19 lines):

diff -r 0075fe9441c5 -r d54f9e233e97 etc/rc
--- a/etc/rc    Wed May 09 16:44:44 2001 +0000
+++ b/etc/rc    Wed May 09 16:53:45 2001 +0000
@@ -1,6 +1,6 @@
 #!/bin/sh
 #
-# $NetBSD: rc,v 1.156 2001/03/12 15:56:39 lukem Exp $
+# $NetBSD: rc,v 1.157 2001/05/09 16:53:45 lukem Exp $
 #
 # rc --
 #      Run the scripts in /etc/rc.d with rcorder.
@@ -11,6 +11,7 @@
 
 export HOME=/
 export PATH=/sbin:/bin:/usr/sbin:/usr/bin
+umask 022
 
 . /etc/rc.subr
 . /etc/rc.conf



Home | Main Index | Thread Index | Old Index