From owner-freebsd-hackers Fri Jul 3 14:47:16 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id OAA22254 for freebsd-hackers-outgoing; Fri, 3 Jul 1998 14:47:16 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from post.mail.demon.net (post-20.mail.demon.net [194.217.242.27]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id OAA22248 for ; Fri, 3 Jul 1998 14:47:14 -0700 (PDT) (envelope-from dmlb@ragnet.demon.co.uk) Received: from (ragnet.demon.co.uk) [158.152.46.40] by post.mail.demon.net with smtp (Exim 1.82 #2) id 0ysDfg-0002M0-00; Fri, 3 Jul 1998 21:47:09 +0000 Received: from dmlb by ragnet.demon.co.uk with local (Exim 1.82 #1) id 0ys8jE-00040L-00; Fri, 3 Jul 1998 17:30:28 +0100 Message-ID: X-Mailer: XFMail 1.2 [p0] on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <5627.899429983@time.cdrom.com> Date: Fri, 03 Jul 1998 17:30:28 +0100 (BST) From: Duncan Barclay To: "Jordan K. Hubbard" Subject: Re: Pkg_create and setting directory ownership. Cc: freebsd-hackers@FreeBSD.ORG Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On 03-Jul-98 Jordan K. Hubbard wrote: >> I'm trying to get pkg_create (on -2.2.6) to set the ownership of some >> directories for a package I'm building. The problem is that >> the @owner directive only affects the files listed in the plist. If you >> list a directory the whole tree below that point is added to the >> final package tar file. > > Which is a known "limitation" (I hesitate to call it a bug). That's > one reason most folks don't list directory names in plists, just their > contents, and then set the directory ownerships in an mtree file if > necessary (though if you've only a few, nobody will grumble if you "cheat" > a little with @exec :-). I've only got four directories to deal with so chmod it is. Would anyone find it useful if I had a bash at removing the "limitation"? I'm happy to fix it, if it needs to be. Duncan --- ________________________________________________________________________ Duncan Barclay | God smiles upon the little children, dmlb@ragnet.demon.co.uk | the alcoholics, and the permanently stoned. ________________________________________________________________________ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message