Re: RFC: change chown *not* to look up numeric user/group names
From:
Paul Eggert
Subject:
Re: RFC: change chown *not* to look up numeric user/group names
Date:
Sat, 20 Jan 2007 00:30:48 -0800
User-agent:
Gnus/5.1008 (Gnus v5.10.8) Emacs/21.4 (gnu/linux)
Jim Meyering <address@hidden> writes:
> * lib/userspec.c (parse_with_separator): If a user or group string
> starts with "+", skip the corresponding name-to-ID look-up, since
> such a look-up must fail: user and group names may not include "+".
The usage is portable to OpenBSD 3.9 and FreeBSD current, so there is
some precedent for it. I like the idea myself, even if it doesn't
happen to work on Solaris.