chown ?

Rick Stevens ricks at alldigital.com
Fri Jan 30 22:55:05 UTC 2015


On 01/30/2015 12:45 PM, 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 ?

The correct command is:

	chown -R kitty:kitty kitty

The "-R" means "recursive". The "kitty:kitty" define the user and group
you want the files chown'd to, the last "kitty" is the directory (and
everything it contains) you want to operate on.

----------------------------------------------------------------------
- Rick Stevens, Systems Engineer, AllDigital    ricks at alldigital.com -
- AIM/Skype: therps2        ICQ: 22643734            Yahoo: origrps2 -
-                                                                    -
-                  Heisenberg _may_ have slept here                  -
----------------------------------------------------------------------


More information about the users mailing list