Hello,
I'm using
root user SSH access to sync between my local folder and my webroot and vice-versa.
The problem is that my webserver expect (for security) all webroot items to have permission for the "nginx" user instead of root.
It seems like everytime I use DropSync from Local to remote Webroot the permissions are not set as they should... i.e. nginx user looses the ability to edit the files.
So the only solution I have is to manually run this on the VPS:
chown -R nginx:nginx /home/nginx/domains
to have the webroot permissions reset as they should for the nginx linux user...
Any idea or workaround to set this automatically?
Thank you,