I'm using CwRsync to connect from my Windows development machine to a linux webserver :
rsync -avuz -e ./ssh --exclude=".svn" /cygdrive/c/xampp/htdocs/project123/
[email protected]:/home/user123/public_html
This syncs my development project
directory nicely and fast to the server.
But after doing this, all
directory properties are reset to the local user 'user123' only, so the website is not available anymore. I need to manually reset those properties.
Why is this happening, and how to prevent it?
PS. coming from a Windows environment I'm having a really hard time understanding rsync. I copied the above command from some examples... just need to get this one small thing working too...