Subject: Re: Unprivileged user per-package custom groups
To: None <david.sainty@dtsp.co.nz>
From: Roland Illig <rillig@NetBSD.org>
List: tech-pkg
Date: 10/14/2007 09:00:15
david.sainty@dtsp.co.nz wrote:
> I propose the following change. Currently mk/unprivileged.mk will
> override all per-package groups. This is not always desirable - in
> fact it can be a real nuisance :)
>
> The patch below allows a package to use its custom group so long as
> the group is in the UNPRIVILEGED_GROUPS list.
>
> In addition, the value of UNPRIVILEGED_GROUPS is defaulted to all the
> groups the installing user is a member of, in a similar mold to
> UNPRIVILEGED_GROUP and UNPRIVILEGED_USER.
The patch for itself looks good. Can you provide an example where you
want to use this feature? (Probably mainly for adding the "games" group,
if I guess right.)
Roland