summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbrooks <brooks@FreeBSD.org>2013-01-21 22:54:43 +0000
committerbrooks <brooks@FreeBSD.org>2013-01-21 22:54:43 +0000
commitf8271f846b19d258fc921ee3cbc04a4d8dddd350 (patch)
treeac7fac3fb4957d2845975ecec6cea9f1b621a7a9
parent6c2d158abab6d3c886d4781a41c8dbdd264de1f2 (diff)
downloadFreeBSD-src-f8271f846b19d258fc921ee3cbc04a4d8dddd350.zip
FreeBSD-src-f8271f846b19d258fc921ee3cbc04a4d8dddd350.tar.gz
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
-rw-r--r--share/info/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/share/info/Makefile b/share/info/Makefile
index 0110e02..6c09adb 100644
--- a/share/info/Makefile
+++ b/share/info/Makefile
@@ -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
OpenPOWER on IntegriCloud