Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 21 Jan 2013 22:54:43 +0000 (UTC)
From:      Brooks Davis <brooks@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r245753 - head/share/info
Message-ID:  <201301212254.r0LMshHG092791@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: brooks
Date: Mon Jan 21 22:54:43 2013
New Revision: 245753
URL: http://svnweb.freebsd.org/changeset/base/245753

Log:
  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

Modified:
  head/share/info/Makefile

Modified: head/share/info/Makefile
==============================================================================
--- head/share/info/Makefile	Mon Jan 21 22:40:39 2013	(r245752)
+++ head/share/info/Makefile	Mon Jan 21 22:54:43 2013	(r245753)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201301212254.r0LMshHG092791>