From owner-freebsd-arch@FreeBSD.ORG Sun Apr 11 00:32:21 2010 Return-Path: Delivered-To: arch@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6587A1065670; Sun, 11 Apr 2010 00:32:21 +0000 (UTC) (envelope-from kientzle@freebsd.org) Received: from monday.kientzle.com (kientzle.com [66.166.149.50]) by mx1.freebsd.org (Postfix) with ESMTP id 3629A8FC17; Sun, 11 Apr 2010 00:32:19 +0000 (UTC) Received: (from root@localhost) by monday.kientzle.com (8.14.3/8.14.3) id o3B0WW8i006407; Sun, 11 Apr 2010 00:32:32 GMT (envelope-from kientzle@freebsd.org) Received: from horton.x.kientzle.com (fw2.kientzle.com [10.123.1.2]) by kientzle.com with SMTP id n4mtt4gy7dnt8d39dx9k5qyq9e; Sun, 11 Apr 2010 00:32:32 +0000 (UTC) (envelope-from kientzle@freebsd.org) Message-ID: <4BC1188F.3060001@freebsd.org> Date: Sat, 10 Apr 2010 17:32:15 -0700 From: Tim Kientzle User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.8.1.23) Gecko/20100314 SeaMonkey/1.1.18 MIME-Version: 1.0 To: Garrett Cooper References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: FreeBSD Arch , portmgr@freebsd.org Subject: Re: [RFC] Remove @owner and @user from package list X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 11 Apr 2010 00:32:21 -0000 Garrett Cooper wrote: > On Sat, Apr 10, 2010 at 3:57 PM, Garrett Cooper wrote: >>> When doing some research, it appears that while functionality in >>> theory exists for @owner and @user in the package list, it isn't >>> actually used in the pkg_install code at all, adding unnecessary bloat >>> to package lists; > > Doing some more digging, there are a handful of ports that I don't > have installed that implement this functionality: > @mode ... > @owner ... > @group ... I would certainly shed no tears if these went away. OTOH, I can see a use for them in pkg_create, to set the mode/owner/group in the resulting tarball. This would be good when building a package from a port while running as non-root user. Of course, we could also do this from the mtree description at either package creation time (reading the mtree description and using it to set file properties in the tarball) or package install time (using the mtree description to set the final file properties on disk). Tim