• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

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