Staging permissions
-
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)
Viewing 1 replies (of 1 total)
- You must be logged in to reply to this topic.