[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] chroot specify user/group feature
From: |
Jim Meyering |
Subject: |
Re: [PATCH] chroot specify user/group feature |
Date: |
Mon, 18 May 2009 22:03:31 +0200 |
Giuseppe Scrivano wrote:
...
>> - do not add short-named options. People who want to
>> abbreviate can use --u or --g.
>> - exit right away upon encountering an invalid option.
>> Make the option-processing loop look like most others, i.e.,
>> with a switch and anonymous enum values in place of your
>> current 'u' and 'g'.
>
> What do you think if I change 'g' to 'G'? I looked under FreeBSD and
> they use -u, -g and -G, maybe it worths to keep the same name.
> Under OpenBSD it is not possible to specify additional groups, so only
> -u and -g are available.
Oh, if you're adding options that mirror precisely what e.g.,
FreeBSD does, then it seems like it'd be ok to add short-named ones.
>> - add a NEWS entry
>> - add documentation in coreutils.texi
>>
>> And for extra credit,
>>
>> - add a test or two to exercise the new functionality.
>> It'll have to be a root-only test, of course.
>
> Sure, I thought about add all these things after you approved it.
Great!
- Re: [PATCH] chroot specify user/group feature, Jim Meyering, 2009/05/18
- Re: [PATCH] chroot specify user/group feature, Giuseppe Scrivano, 2009/05/18
- Re: [PATCH] chroot specify user/group feature,
Jim Meyering <=
- Re: [PATCH] chroot specify user/group feature, Giuseppe Scrivano, 2009/05/20
- Re: [PATCH] chroot specify user/group feature, Jim Meyering, 2009/05/25
- Re: [PATCH] chroot specify user/group feature, Jim Meyering, 2009/05/26
- Re: [PATCH] chroot specify user/group feature, Eric Blake, 2009/05/27
- Re: [PATCH] chroot specify user/group feature, Giuseppe Scrivano, 2009/05/27
- Re: [PATCH] chroot specify user/group feature, Jim Meyering, 2009/05/27