bug-coreutils
[Top][All Lists]
Advanced

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

Re: possible bug?


From: Andreas Schwab
Subject: Re: possible bug?
Date: Tue, 21 Sep 2004 17:24:47 +0200
User-agent: Gnus/5.110002 (No Gnus v0.2) Emacs/21.3.50 (gnu/linux)

"Duane Cox" <address@hidden> writes:

> Hello, I'm not sure if this is correct operation, or a bug...
> using: coreutils-5.2.1.tar.gz
>
> I'm in my home dir, changing permissions on hidden files
> and folders in my home dir.  Apparently chown also grabs ..
> all the way up to /home and changes that ownership as
> well as any users in /home
>
>
> address@hidden:/home/dcox# chown -Rv dcox.users .*

If you tell chown to recurse through `.' or `..' then it will happily do
that.  Use .[!.]* instead to not match `.' and `..'.

Andreas.

-- 
Andreas Schwab, SuSE Labs, address@hidden
SuSE Linux AG, Maxfeldstraße 5, 90409 Nürnberg, Germany
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]