bug-coreutils
[Top][All Lists]
Advanced

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

Re: two new chroot bugs


From: Jim Meyering
Subject: Re: two new chroot bugs
Date: Wed, 27 May 2009 23:13:43 +0200

Jim Meyering wrote:
...
> Here are patches, for review.
> I'll add tests tomorrow.

That latter log wasn't complete.

> Subject: [PATCH] chroot: don't set bogus user-ID or group-ID for --u=U or 
> --u=:G
>
> * src/chroot.c (main): Initialize both "uid" and "gid".  To -1.
> This also allows one to set the primary group-ID to 0, in case
> it's not that already.

Here's what I have, now:

    chroot: don't set bogus user-ID or group-ID for --u=U: or --u=:G

    * src/chroot.c (main): Initialize both "uid" and "gid".  To -1.
    This also allows one to set the user-ID or primary group-ID to 0,
    in case it's not that already.




reply via email to

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