Changing the owner of a directory in Linux

A quick note on changing the owner and group for a directory over SSH with recursion

Go to the root and execute

chown -R admin:admin /home/admin/sites/site1

Plain text

  • No HTML tags allowed.
  • Lines and paragraphs break automatically.
  • Web page addresses and email addresses turn into links automatically.
The comment language code.