[ bug-coreutils moved to BCC, CC += bug-gnulib ] On Wed, May 27, 2009 at 8:04 PM, Giuseppe Scrivano <gscriv...@gnu.org> wrote: > Hi Eric, > > Eric Blake <e...@byu.net> 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.