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

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