Reset / Correct Server Permissions for Plesk via SSH

Sometimes, you might accidentally chown or chmod system files via SSH on a server running Parallels Plesk Panel and find that you’re locked out of Plesk’s panel interface and you take down every website hosted on that server.

Fortunately, Plesk have some built in means to reset file/directory ownership and permissions back to their original defaults.

Make sure you connect to the server as root via SSH and run the following:-

And then, once these two commands have completed (be sure to run them in the above order), you can then run the following (Plesk 11.5+ only) just to be sure that all permissions have reset correctly for the virtual hosts (websites):-

If you encounter any issues, just let us know in the comments.

Geoff Jackson

Geoff Jackson (more commonly known by his online pseudonym zigojacko) is the founder of Design Haven and The Clubnet Group which hosts numerous agencies including the most widely recognised of them, Clubnet Digital, a full service digital marketing and creative design/development agency. He also has a personal blog but it doesn't get updated as much as he'd like.

Sponsored Links...

Subscribe to Design Haven UK

Enter your email address to subscribe and receive our new posts by email.

Leave a Reply

Your email address will not be published. Required fields are marked *

%d bloggers like this: