• Dear Pleskians! The Plesk Forum will be undergoing scheduled maintenance on Monday, 7th of July, at 9:00 AM UTC. The expected maintenance window is 2 hours.
    Thank you in advance for your patience and understanding on the matter.

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