1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-06 09:17:25 +00:00

Install the template info directory with mode 644 instead of 444 to

allow it to be updated by its owner without resorting to privilege.

This is required by upcoming changes to allow installworld to work as
a non-root user.

Sponsored by:	DARPA, AFRL
Reviewed by:	ian, ray, rpaulo
This commit is contained in:
Brooks Davis 2013-01-21 22:54:43 +00:00
parent 12dd8cb14c
commit 7102f5954b
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=245753

View File

@ -17,6 +17,6 @@ beforeinstall:
@exit 3;
.endif
.if !exists(${DESTDIR}${INFODIR}/dir)
${INSTALL} -o ${INFOOWN} -g ${INFOGRP} -m ${INFOMODE} \
${INSTALL} -o ${INFOOWN} -g ${INFOGRP} -m 644 \
dir-tmpl ${DESTDIR}${INFODIR}/dir
.endif