From owner-svn-src-projects@FreeBSD.ORG Tue Feb 12 18:38:02 2013 Return-Path: Delivered-To: svn-src-projects@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 00038D74; Tue, 12 Feb 2013 18:38:01 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) by mx1.freebsd.org (Postfix) with ESMTP id E52A6989; Tue, 12 Feb 2013 18:38:01 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.5/8.14.5) with ESMTP id r1CIc13p038870; Tue, 12 Feb 2013 18:38:01 GMT (envelope-from linimon@svn.freebsd.org) Received: (from linimon@localhost) by svn.freebsd.org (8.14.5/8.14.5/Submit) id r1CIc1Cs038869; Tue, 12 Feb 2013 18:38:01 GMT (envelope-from linimon@svn.freebsd.org) Message-Id: <201302121838.r1CIc1Cs038869@svn.freebsd.org> From: Mark Linimon Date: Tue, 12 Feb 2013 18:38:01 +0000 (UTC) To: src-committers@freebsd.org, svn-src-projects@freebsd.org Subject: svn commit: r246718 - projects/portbuild/admin/tools X-SVN-Group: projects MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-projects@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "SVN commit messages for the src " projects" tree" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Feb 2013 18:38:02 -0000 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