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 2013-01-21 22:54:43 +00:00
parent 6c2d158aba
commit f8271f846b

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