Re: chown ?

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

 



On 30Jan2015 13:07, Joe Zeff <joe@xxxxxxx> 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 <cs@xxxxxxxxxx>

Who's chopper is that?  It's Zed's.
Where is Zed?           Zed's dead, baby.       - Pulp Fiction
--
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
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




[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux