• We value your experience with Plesk during 2024
    Plesk strives to perform even better in 2025. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2024.
    Please take this short survey:

    https://pt-research.typeform.com/to/AmZvSXkx
  • 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.

Question Set WordPress plugin new file permissions

We use Autoptimize. The plugin creates .php-files without execute permissions, resulting in 403 errors and a semi-loaded page. What causes the files to be created without the required execute permissions and how can I configure the domain in such a way that PHP-files in the cache directory are created with execute permissions?

I'm assuming there's a umask being set somewhere and I don't know where.
 
Turns out the execution of the files generated by Autoptimize (causing the 403 errors) didn't have to do with file permissions but with Plesk's WordPress Plugin's security measures. The plugin recognises which directory is used by Autoptimize (so the measure works regardless of what you define the AUTOPTIMIZE_CACHE_CHILD_DIR to be).

WordPress → Domain → Security → Disable PHP Execution in cache directories → Revert

What I would like to know is if/how I can enable this setting but override it somehow, since I don't want all of my cache directories to allow execution.
 
Back
Top