From owner-svn-src-user@freebsd.org Fri May 6 07:08:20 2016 Return-Path: Delivered-To: svn-src-user@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A2E68B304D0 for ; Fri, 6 May 2016 07:08:20 +0000 (UTC) (envelope-from ngie@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 707C81A61; Fri, 6 May 2016 07:08:20 +0000 (UTC) (envelope-from ngie@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u4678JUV050627; Fri, 6 May 2016 07:08:19 GMT (envelope-from ngie@FreeBSD.org) Received: (from ngie@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u4678JUM050626; Fri, 6 May 2016 07:08:19 GMT (envelope-from ngie@FreeBSD.org) Message-Id: <201605060708.u4678JUM050626@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: ngie set sender to ngie@FreeBSD.org using -f From: Garrett Cooper Date: Fri, 6 May 2016 07:08:19 +0000 (UTC) To: src-committers@freebsd.org, svn-src-user@freebsd.org Subject: svn commit: r299158 - user/ngie/detangle-rc/etc/rc.d X-SVN-Group: user MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-user@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: "SVN commit messages for the experimental " user" src tree" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 May 2016 07:08:20 -0000 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