Source-Changes-HG archive

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

[src/trunk]: src/etc Install the iscsi/auths file as mode 600.



details:   https://anonhg.NetBSD.org/src/rev/db9e2a7a03a4
branches:  trunk
changeset: 588181:db9e2a7a03a4
user:      agc <agc%NetBSD.org@localhost>
date:      Sat Feb 11 09:33:16 2006 +0000

description:
Install the iscsi/auths file as mode 600.

diffstat:

 etc/iscsi/Makefile |  7 ++++---
 etc/mtree/special  |  4 ++--
 2 files changed, 6 insertions(+), 5 deletions(-)

diffs (33 lines):

diff -r 9c4dd8e78438 -r db9e2a7a03a4 etc/iscsi/Makefile
--- a/etc/iscsi/Makefile        Sat Feb 11 05:49:48 2006 +0000
+++ b/etc/iscsi/Makefile        Sat Feb 11 09:33:16 2006 +0000
@@ -1,7 +1,8 @@
-#      $NetBSD: Makefile,v 1.1 2006/02/08 19:02:59 agc Exp $
+#      $NetBSD: Makefile,v 1.2 2006/02/11 09:33:16 agc Exp $
 
-CONFIGFILES=    auths targets
-FILESDIR=       /etc/iscsi
+CONFIGFILES=           auths targets
+FILESDIR=              /etc/iscsi
+FILESMODE_auths=       0600
 
 .include <bsd.files.mk>
 .include <bsd.prog.mk>
diff -r 9c4dd8e78438 -r db9e2a7a03a4 etc/mtree/special
--- a/etc/mtree/special Sat Feb 11 05:49:48 2006 +0000
+++ b/etc/mtree/special Sat Feb 11 09:33:16 2006 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: special,v 1.90 2006/02/08 19:02:59 agc Exp $
+#      $NetBSD: special,v 1.91 2006/02/11 09:33:16 agc Exp $
 #      @(#)special     8.2 (Berkeley) 1/23/94
 #
 # Hand-crafted mtree specification for the dangerous files.
@@ -75,7 +75,7 @@
 ./etc/ipnat.conf               type=file mode=0644 optional
 ./etc/ipsec.conf               type=file mode=0600 optional tags=nodiff
 ./etc/iscsi                    type=dir  mode=0755
-./etc/iscsi/auths              type=file mode=0644
+./etc/iscsi/auths              type=file mode=0600
 ./etc/iscsi/targets            type=file mode=0644
 ./etc/kerberosIV               type=dir  mode=0755 ignore optional
 ./etc/ld.so.conf               type=file mode=0644 optional



Home | Main Index | Thread Index | Old Index