• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

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