Rsync on Windows: wrong permissions for created directories

The option to ignore NTFS permissions has changed in Cygwin version 1.7. This might be what’s causing the problem.

Try adding the ‘noacl’ flag to your Cygwin mounts in C:\cygwin\etc\fstab, for example:

none /cygdrive cygdrive user,noacl,posix=0 0 0

You can pass custom permissions via rsync using the ‘chmod’ option:

rsync -rvz --chmod=ugo=rwX -e ssh source destination

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)