Re: [gentoo-dev] [RFC, PATCH] user.eclass: gracefully return when unprivileged

2017-11-21 Thread Francesco Riosa
On 11/20/17 05:09, hero...@gentoo.org wrote: [...] > diff --git a/eclass/user.eclass b/eclass/user.eclass > index 86bcd282479..76a622df698 100644 > --- a/eclass/user.eclass > +++ b/eclass/user.eclass > @@ -103,6 +103,10 @@ egetent() { > # Default uid is (pass -1 for this) next available, default

Re: [gentoo-dev] [RFC, PATCH] user.eclass: gracefully return when unprivileged

2017-11-19 Thread M. J. Everitt
On 20/11/17 03:38, hero...@gentoo.org wrote: > From: Benda Xu > > Thanks MJ, how about "Unprivileged to execute"? Less bytes. > > enewgroup and enewuser does not apply when executed as a normal > user, e.g. under Gentoo Prefix. > --- > eclass/user.eclass | 8 > 1

Re: [gentoo-dev] [RFC, PATCH] user.eclass: gracefully return when unprivileged.

2017-11-19 Thread M. J. Everitt
On 20/11/17 03:25, hero...@gentoo.org wrote: > From: Benda Xu > > enewgroup and enewuser does not apply when executed as a normal > user, e.g. under Gentoo Prefix. > --- > eclass/user.eclass | 8 > 1 file changed, 8 insertions(+) > > diff --git