svn commit: r299158 - user/ngie/detangle-rc/etc/rc.d

Garrett Cooper ngie at FreeBSD.org
Fri May 6 07:08:20 UTC 2016


Author: ngie
Date: Fri May  6 07:08:19 2016
New Revision: 299158
URL: https://svnweb.freebsd.org/changeset/base/299158

Log:
  Fix permissions on all FILESGROUPS that aren't FILES
  
  FILESMODE defaults to SHAREMODE, which is 444, instead of BINMODE, which is 555.
  Be explicit and use BINMODE for all FILESGROUPS by default, unless someone else
  specifies otherwise prior to the default definition.

Modified:
  user/ngie/detangle-rc/etc/rc.d/Makefile

Modified: user/ngie/detangle-rc/etc/rc.d/Makefile
==============================================================================
--- user/ngie/detangle-rc/etc/rc.d/Makefile	Fri May  6 06:55:18 2016	(r299157)
+++ user/ngie/detangle-rc/etc/rc.d/Makefile	Fri May  6 07:08:19 2016	(r299158)
@@ -4,7 +4,6 @@
 
 BINDIR=		/etc/rc.d
 FILESGROUPS=	FILES
-FILESMODE=	${BINMODE}
 
 FILES=	DAEMON \
 	FILESYSTEMS \
@@ -329,4 +328,8 @@ ZFS+=		zvol
 ZFSPACKAGE=	zfs
 .endif
 
+.for fg in ${FILESGROUPS}
+${fg}MODE?=	${BINMODE}
+.endfor
+
 .include <bsd.prog.mk>


More information about the svn-src-user mailing list