Change Ownership in Plesk via SSH?

Chris Worner

Well-known member
Joined
Apr 15, 2016
Messages
460
Best answers
1
Ratings
41
Points
28
#1
I am using this command to change ownership in plesk via ssh

Code:
chown username:psacln /var/www/vhosts/example.com/httpdocs/folder/*
But it only worked with files in the first level of the directory that I wanted to change ownership. other files and folders are still keeping "root" as owenership

What is right command to change Ownership in Plesk via SSH?
 

Chris Worner

Well-known member
Joined
Apr 15, 2016
Messages
460
Best answers
1
Ratings
41
Points
28
#2
I could fix the problem.

I missed -R in the command above, correct command is:

Code:
chown -R username:psacln /var/www/vhosts/example.com/httpdocs/folder/
psacln is a group name.
 
Recommended Threads
Replies
5
Views
2,223
Replies
7
Views
1,355
Replies
7
Views
1,432
Replies
7
Views
1,866
Replies
4
Views
960

Latest Hosting OffersNew Reviews

Sponsors

Tag Cloud

You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an alternative browser.

Top