chown ?

Max Pyziur pyz at brama.com
Fri Jan 30 20:56:35 UTC 2015


On Fri, 30 Jan 2015, Mickey wrote:

> Fedora 20
>
> 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 ?


chown -R user.group <target>

If user is "pyz", and group is "pyz", and <target> is SomeFileDirectory,
then:

chown -R pyz.pyz SomeFileDirectory


Max Pyziur
pyz at brama.com


More information about the users mailing list