• Inviting everyone who uses WordPress management tools in Plesk
    The Plesk team is conducting a 60-minute research session that includes an interview and a moderated usability test.
    To participate, please use this link .
    Your experience will help shape product decisions and ensure the tools better support real-world use cases.

changing group

J

jd2004

Guest
How can i change the group name of files in httpdocs folder?
Because i cannot delete files by my ftp programm or the filemanager in Plesk 7.5.3 when the files are in www group.

Why are they in group www and not in psacln?

Thanks,

David
 
The files are uploaded by a PHP script most likely. You can change the group only in shell with a root account.
 
SSH into the server as user root.

chown username:groupname path/filespec
 
Ok, clear.
But how can i do it for many (sub-)directories and files?

For example:
chown -R user:group /home/httpd/vhosts/xyz.com/httpdocs

David
 
It's nice when people answer their own questions.... -R is the recursive option.

Take caution when changing ownership on folders/files....
 
Originally posted by jd2004
Ok, I was not sure, but nice to hear...

May I suggest that you take a little time to learn the use of Man Pages (help system) ;o)

man chown

would be your friend in this case :)
 
Back
Top