chown

Written by Yujin Boby

Edit in WordPress

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