On 30Jan2015 13:07, Joe Zeff <j...@zeff.us> wrote:
On 01/30/2015 12:45 PM, Mickey wrote:
I have a User Directory named  "kitty" I want to change all the
directories. files to the owner kitty .
There are some other owners of files that I want to change to kitty.

chown -R kitty  kitty:kitty

Is this Correct ?

Not according to man chown it isn't.  You have it backwards:

chown -R kitty:kitty kitty


And this follows a general pattern. Most commands have the rough form:

 command [options/paramaters...] targets...

Your "kitty" directory is a target: it is what chown will work on.

"kitty:kitty" is a parameter; it says what to do.

Cheers,
Cameron Simpson <c...@zip.com.au>

Who's chopper is that?  It's Zed's.
Where is Zed?           Zed's dead, baby.       - Pulp Fiction
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org

Reply via email to