Categories
4
Abuse and Security
12 Advanced Users
4 Cloud Hosting Basic Questions
6 CloudFlare
14 cPanel
11 Domain Names
12 Email
1 FFmpeg
2 Free Website Transfer
1 Free Website Transfer
3 FTP Basics
3 ID Protection / Domain Privacy
4 MySQL Basics
1 Name Servers (DNS)
1 PHP
12 Pre Sales Questions
8 Reseller Hosting
2 RV Site Builder
13 Sales & Billing
9 Shared Hosting
1 Softaculous
3 SSH
3 SSL Certificates
8 Troubleshooting
4 VPS and Dedicated Servers
1 Website Transfer Service
1 WordPress
Categories
SSH Change of Owner Files/folders Print
- 0
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.
Was this answer helpful?
Related Articles
How to SSH to Your VPS or Dedicated Server
In this guide, we will show you how to SSH to your VPS or Dedicated Server using a PC.
Step 1:...
cPanel License Pricing
VPS cPanel and WHM Licenses:
cPanel Solo - 1 Account - Included FREEcPanel Admin Cloud - up to 5...
VPS Backup Pricing
HostHero VPS customers can now subscribe to our Premium Backup Service.
Premium Backup Service...