bug-gnulib
[Top][All Lists]
Advanced

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

Re: chown, cpio: proposed change for userspec handling of USER:


From: Andreas Schwab
Subject: Re: chown, cpio: proposed change for userspec handling of USER:
Date: Wed, 02 Dec 2009 23:41:19 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux)

Jim Meyering <address@hidden> writes:

> While writing a few tests for userspec (below), I was surprised to
> re-learn that chown USER_NAME: has a special meaning.  It is a
> shorthand for chown USER_NAME:+$(id -g USER_NAME) ...
> I had expected it to be equivalent to this:
> chown USER_NAME ...
>
> Since the above behavior is not specified by POSIX, and
> is IMHO, counter-intuitive

Why?  I find it very convenient and use it quite a lot.

Andreas.

-- 
Andreas Schwab, address@hidden
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."




reply via email to

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