Subject: bug#15945: chown: Does now allow setting user and users login group with numerical user ID

From: Eric Blake <[email-masked]>
Date: Thu, 21 Nov 2013 10:47:12 -0700

On 11/21/2013 10:45 AM, Andreas Schwab wrote:
> Eric Blake <[email-masked]> writes:
> 
>> so it looks like we have a bug that if OWNER is numeric, we aren't
>> looking up OWNER's login group.
> 
> There may not be a unique uid to user name mapping.

Right, but in that case, the error message should make sense.  Rather
than being a blanket "invalid spec: `1001:'" it should say something
like "unable to determine default group for user `1001'"

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org