chown Command - Change owner user

You can change the owner user using the chown command.

chown OwnerUser FileName

This is a sample to change the owner user with the chown command.

chown kimoto file

See the permissions article for owner users.

What are permissions?

Change the owner group as well

You can change the owner group as well as the owner user with the chown command.

chown OwnerUser:OwnerGroup FileName

This is a sample to change the owner group in addition to the owner user.

chown kimoto:myapp file

Recursively change the owner user

Use the "-R" option to recursively change the owner user.

chown -R kimoto dir

Associated Information