How to restore default permissions in virtual host directory on Plesk for Linux?
Note: solution for Plesk for Windows is available in the article How to restore default permissions on a domain in Plesk for Windows?
Since Plesk Obsidian 18.0.35, it is possible to change files and directories permissions in the Plesk interface:
- Log into Plesk.
- Go to Domains > example.com > File Manager.
- Clicknext to a directory or a file and click Change Permissions.
- Set the permissions, enable the option Change permissions recursively if necessary, and click Save or Save and resume to apply the changes:
Note: The recommended permissions are 755 for directories (Read, Write, and Execute for owner, Read and Execute for group and others) and 644 for files (Read and Write for owner, Read for group and others).