1
I'm trying to sync files from development machine running Windows (using cygwin) to staging server running Linux.
I tried rsync -avz --no-p --no-g
so synced directories/files would receive default permissions, but in my case both directories and files receive 755 permission. It's fine for direcotries, but for files I would like to get 644.
I tried playing with --chmod
but couldn't find the right combination.