• Resolved microscan5ep

    (@microscan5ep)


    Our hosting setup uses PHP-FPM that runs as the user account, so when PHP accesses the file system it creates files under it’s own name. However, it seems that when images are uploaded WordPress is trying to save them under the web server’s name, so we get permission errors.

    Looking at the staging site it is creating is a owner=the FPM user with RW perms and group=Web server with RO perms.

    We have to shell into the server and manually add group write permissions to avoid the errors.

    Is there any way around this so that when the staging site is created it gives group write permissions automatically?

    Thanks,
    Chris

Viewing 1 replies (of 1 total)
  • Plugin Contributor Fayyaz

    (@fayyazfayzi)

    Hi @microscan5ep ,

    Thank you for reaching out.

    The issue you’re experiencing is due to the mismatch in file ownership between PHP-FPM and the web server. Our development team is working on a filter to address this, which will be available first in our Pro version.

    To prioritize this feature and test the filter, please create a support ticket for our PRO version. This will help us track your request and provide a quicker solution. We will then send you a test version once it’s ready.

    Cheers
    Fayyaz

    • This reply was modified 4 months, 1 week ago by Fayyaz.
Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.