bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] chroot specify user/group feature


From: James Youngman
Subject: Re: [PATCH] chroot specify user/group feature
Date: Thu, 4 Jun 2009 10:33:50 +0100

[ bug-coreutils moved to BCC, CC += bug-gnulib ]

On Wed, May 27, 2009 at 8:04 PM, Giuseppe Scrivano <address@hidden> wrote:
> Hi Eric,
>
> Eric Blake <address@hidden> writes:
>
>> Would it be worth starting to patch the testsuite to replace 'setuidgid -g
>> list usr cmd arg' with 'chroot --user usr --groups=list / cmd arg' in
>> order to give this feature more exposure and reduce our dependence on
>> uninstalled apps?
>
> IMHO, since chroot now allows to specify users and groups by their names
> too, maybe it worths to move these functionalities in a gnulib module
> and share them with setuidgid.  What all of you think?

The locate program in findutils drops privileges, that fairly similar
functionality might make a good gnulib module.   Certainly it's the
kind of thing one would hope to wirte and debug once, and reuse.

James.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]