• 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.

Repairing / Rebuilding Domain File Permissions

H

hpham

Guest
I was adding apache into another group and found out that it caused the httpd folder's owner and group to root. All my vhosts also changed to root. I quickly changed the user and group to apache to allow apache to come back and function correctly.

Unfortunately I need a way to correctly repair the folder and file permissions or else my clients won't be able to ftp or edit their files since all the files are now owned by apache.

Is there a script that will update the permissions for me? I looked in the psa/admin/sbin folder for an app. I tried domain.sh and user.sh with no success (they apparently don't rebuild file permissions).

Please help, this problem is annoying as it affects over 50 domains, which would be a major pain to fix by hand.

Harrison
 
Problem solved. Plesk's tech support responded to my problem within 3 hours. They sent me a sh script that went through all the domains and reset their permissions. I had to manually update subdomains, but it wasn't so bad.

Harrison
 
Back
Top