0
I am synchronizing the files on my local machine with the server as follows:
rsync -avz -e 'ssh' -exclude=temporarios ~/Projects/teste/* [email protected]:/var/www/
But for the application to work, I have to go to the server and inside the folder /var/www I have to modify the permissions:
chmod -R 775 *
After applying permissions the application works.
- Why do I have to apply the permissions?
- Why every time I run rsync command I have to apply permissions on the server?
At source the files already have the correct permissions?
– cemdorst