Hi,
I have NGinx websites installed, and I use Wordpress. This works fine, but I had an issue that appeared when I transfered all the Wordpress files with my SMB user. The owner was set to my Windows SMB username. And Wordpress was no longer able to write and delete files, even if I included the www-data in ACL for the folder. When owner is changed from root to www-data in ACL it works great, Wordpress acts normally.
The problem is that I use my Windows computer to edit and create new files all the time inside the Wordpress folder. Which means I will be the owner of the new file.
Is it possible to set it up like this:
When a new file is created or moved to the Wordpress folder, it will automatically set to Owner: www-data instead of the the SMB username that created/moved the file.
Please help me, thank you!