chown

chown command is ued to change ownership of a file or folder

In this example ownership of folder public_html to username and group specified.

chown -R username:group public_html

-R used for recursively change ownership, that is all files and folders inside the folder also get the new ownership.

See Linux Commands

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *