Wednesday, June 28, 2017 04:51 pm EDT

Changing folder ownership thru SSH

Bri's picture

If you ever need to change ownership of a folder using SSH here is how:

You'll need to login to the root of the server, and then run the command

chown -R ownername:groupname /path/to/the/folder/that/needs/to/be/changed

The "-R" will make this a recursive ownership change, changing all folders that are included below the path you have specified.