SSH Change of Owner files/folders

SSH Change of Owner Files/folders

 You want to issue the chown (change owner) command, for example:


chown user /home/user

The command above will change just the folder /home/user. If you wanted to change all of the files and folders within a given directory you would use:

chown -R user /home/user

If you wanted to change the user and group at the same time you would use:

chown user:group /home/user

Where '/home/user' is the path to the directory. If you wanted to change one file then you would specify the file at the end of the path. Please be VERY careful doing this.

 
  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

How to clear browser cache in IE 8

Original Article can be found here: http://refreshyourcache.com/en/internet-explorer-8/...

How to use the virus scanner in cPanel

How to use the virus scanner in cPanel This article describes how to use the virus scanner...

Backing up your website and database

Overview The Backup Wizard interface allows you to back up all or part of your website, or...

Powered by WHMCompleteSolution