Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Feb 2013 18:38:01 +0000 (UTC)
From:      Mark Linimon <linimon@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-projects@freebsd.org
Subject:   svn commit: r246718 - projects/portbuild/admin/tools
Message-ID:  <201302121838.r1CIc1Cs038869@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: linimon (doc,ports committer)
Date: Tue Feb 12 18:38:01 2013
New Revision: 246718
URL: http://svnweb.freebsd.org/changeset/base/246718

Log:
  Continue to work on the split.

Modified:
  projects/portbuild/admin/tools/newmkportbuild

Modified: projects/portbuild/admin/tools/newmkportbuild
==============================================================================
--- projects/portbuild/admin/tools/newmkportbuild	Tue Feb 12 18:27:58 2013	(r246717)
+++ projects/portbuild/admin/tools/newmkportbuild	Tue Feb 12 18:38:01 2013	(r246718)
@@ -15,9 +15,10 @@ DEFAULT_ZFS_PERMISSIONSET="clone,create,
 DEFAULT_ZFS_PERMISSIONSET_SNAPS="clone,snapshot"
 SNAP_DIRECTORY=snap
 
-# ownership of direct subdirectories of DEFAULT_ZFS_VOLUME
+# define ownership of direct subdirectories of DEFAULT_ZFS_VOLUME
 SRCBUILD_OWNED_SUBDIRS="pxeroot ${SNAP_DIRECTORY} worlddir"
 PORTBUILD_OWNED_SUBDIRS="portbuild"
+PORTBUILD_OWNED_SUBSUBDIRS="lockfiles log"
 
 if [ `id -u` != 0 ]; then
   echo "$0 must be run as root."
@@ -171,13 +172,14 @@ su -m ${PORTBUILD_USER} -c "${VCS_CHECKO
 # XXX MCL now have to move some directories over, create different
 # XXX MCL ownerships, and so forth.
 
-echo -n "$0: you should now be able to edit files in ${ZFS_MOUNTPOINT}/portbuild/admin/conf"
-echo " and ${ZFS_MOUNTPOINT}/portbuild/conf."
+echo "$0: you should now be able to edit files in the following directories:"
+echo "$0: in ${ZFS_MOUNTPOINT}/portbuild/admin/conf as ${SRCBUILD_USER}, and"
+echo "$0: in ${ZFS_MOUNTPOINT}/portbuild/conf as ${PORTBUILD_USER}."
 
 # create convenience directories for PORTBUILD_USER.  failure is annoying
 # but non-fatal.
-extra_dirs="lockfiles log"
-for extra_dir in ${extra_dirs}; do
+PORTBUILD_OWNED_SUBSUBDIRS="lockfiles log"
+for extra_dir in ${PORTBUILD_OWNED_SUBSUBDIRS}; do
   if [ ! -d ${ZFS_MOUNTPOINT}/portbuild/${extra_dir} ]; then
     su -m ${PORTBUILD_USER} -c "mkdir ${ZFS_MOUNTPOINT}/portbuild/${extra_dir}"
   fi



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