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

Restoring original directory permissions

I

ideawire_bb

Guest
I ran a script in a domain and hosed the permissions on that directory and a few levels above. Is there a utility that exists that will restore permissions on the directory?

I can't just re-create the domain since a large number of mail accounts exist and recreation will be a hassle.

Any help will be appreciated.
 
Right there with you brother. I have hosed the /usr/local/psa and everthing under it. Anyone got a script to restore it??

TIA
 
I had the joy of manually restoring /home/httpd/vhost/... for all the system domains.

Be careful with root kids.

There should be some sort of script that checks the permissions recursively and corrects them if wrong. This would likely solve a number of errors that come up as a result of incorrect permissions.
 
I eventually got it working agaon chmod -R 4777 /usr/local/usr/ *

Not ideal but it worked.
 
Back
Top