GNU bug report logs - #15945
chown: accept "[NUMERIC-ID]:" syntax

Previous Next

Package: coreutils;

Reported by: Tormen <quickhelp <at> gmail.com>

Date: Thu, 21 Nov 2013 15:18:03 UTC

Severity: wishlist

Full log


View this message in rfc822 format

From: Eric Blake <eblake <at> redhat.com>
To: Andreas Schwab <schwab <at> linux-m68k.org>
Cc: Tormen <quickhelp <at> gmail.com>, 15945 <at> debbugs.gnu.org
Subject: bug#15945: chown: Does now allow setting user and users login group with numerical user ID
Date: Thu, 21 Nov 2013 10:47:12 -0700
[Message part 1 (text/plain, inline)]
On 11/21/2013 10:45 AM, Andreas Schwab wrote:
> Eric Blake <eblake <at> redhat.com> 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

[signature.asc (application/pgp-signature, attachment)]

This bug report was last modified 6 years and 155 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.