I have a server running apache as webserver. I need two user accounts to upload web content via scp. As example a wordpress installation.
When I configure those users, and upload the files they are owned by the user who uploaded them. In that case apache user is not allowed to modify them. The same way when the wordpress installation is used to upload media files. The upload user don't have access to them.
So I have files uploaded by one of 2 upload users, files uploaded via the web application (having apache's owner and permissions). And all 3 should be able to fully handle the files (add, delete, modify, ...).
Any ideas how this can be done?