From owner-freebsd-hackers Thu Jul 2 18:40:33 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id SAA15213 for freebsd-hackers-outgoing; Thu, 2 Jul 1998 18:40:33 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from time.cdrom.com (root@time.cdrom.com [204.216.27.226]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id SAA15203 for ; Thu, 2 Jul 1998 18:40:27 -0700 (PDT) (envelope-from jkh@time.cdrom.com) Received: from time.cdrom.com (jkh@localhost.cdrom.com [127.0.0.1]) by time.cdrom.com (8.8.8/8.8.8) with ESMTP id SAA05630; Thu, 2 Jul 1998 18:39:44 -0700 (PDT) (envelope-from jkh@time.cdrom.com) To: Duncan Barclay cc: freebsd-hackers@FreeBSD.ORG Subject: Re: Pkg_create and setting directory ownership. In-reply-to: Your message of "Thu, 02 Jul 1998 22:41:50 BST." Date: Thu, 02 Jul 1998 18:39:43 -0700 Message-ID: <5627.899429983@time.cdrom.com> From: "Jordan K. Hubbard" Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > 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 :-). - Jordan To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message