Subject: Re: [PATCH] pkginstall framework modifications
To: None <tech-pkg@NetBSD.org>
From: Todd Vierling <tv@duh.org>
List: tech-pkg
Date: 04/21/2006 15:16:49
On Fri, 21 Apr 2006, Johnny C. Lam wrote:

> I've attached patch that adds two new abilities to the pkginstall
> framework:

BTW, I've been meaning to ask... I do want to convert the Interix user
support to the new framework, and doing that should be possible.  Where
should I look first to get started on this?

As an aside, Interix has one very odd quirk regarding users/groups that I
have to find a solution for "someday".  In short, you can't have a user and
group with the same name -- but you *can* have a user or a group own a file
and provide access control.

For the most part, this can be emulated by creating only the userid (as the
purpose of foo:foo ownership is usually to partition it to a single user
with its own single-user group).  That assumption doesn't always hold,
however, and sometimes you really want a group rather than a user, or
perhaps have a group with a differing name after all.  I have to figure out
how best to mark the latter situation, which may involve putting
Interix-specific PKG_USERS overrides in some places, or introducing new,
divergent group names in those cases.  Hrmpf.

-- 
-- Todd Vierling <tv@duh.org> <tv@pobox.com> <todd@vierling.name>