Date: Thu, 25 Jun 2020 12:37:26 +0000 (UTC) From: Mathieu Arnold <mat@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r540386 - head/Mk Message-ID: <202006251237.05PCbQf1019097@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: mat Date: Thu Jun 25 12:37:26 2020 New Revision: 540386 URL: https://svnweb.freebsd.org/changeset/ports/540386 Log: Make sure rc files are owned by root:wheel with a sensible mode. PR: 246158 Reported by: Chad Jacob Milios Differential Revision: https://reviews.freebsd.org/D25295 Modified: head/Mk/bsd.port.mk (contents, props changed) Modified: head/Mk/bsd.port.mk ============================================================================== --- head/Mk/bsd.port.mk Thu Jun 25 11:33:34 2020 (r540385) +++ head/Mk/bsd.port.mk Thu Jun 25 12:37:26 2020 (r540386) @@ -4574,7 +4574,7 @@ install-rc-script: _prefix=${PREFIX}; \ [ "${PREFIX}" = "/usr" ] && _prefix="" ; \ ${INSTALL_SCRIPT} ${WRKDIR}/$${i} ${STAGEDIR}$${_prefix}/etc/rc.d/$${i%.sh}; \ - ${ECHO_CMD} "$${_prefix}/etc/rc.d/$${i%.sh}" >> ${TMPPLIST}; \ + ${ECHO_CMD} "@(root,wheel,0755) $${_prefix}/etc/rc.d/$${i%.sh}" >> ${TMPPLIST}; \ done .endif .endif
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202006251237.05PCbQf1019097>