Re: [PATCH] rsync without --perms may set bogus permissions

2010-12-15 Thread Christian Franke
Christian Franke wrote: Rsync may set bogus permissions if --perms is not specified and ACLs are enabled. This happens if the destination directory was not created by Cygwin itself. Testcase: [...] For some (security?) reason rsync (without --perms) does not rely on permissions set by open(.

[PATCH] rsync without --perms may set bogus permissions

2010-11-25 Thread Christian Franke
Rsync may set bogus permissions if --perms is not specified and ACLs are enabled. This happens if the destination directory was not created by Cygwin itself. Testcase: $ cygcheck -f /bin/cygwin1.dll cygwin-1.7.7-1 $ cygcheck -f /bin/rsync.exe rsync-3.0.7-1 $ umask 0022 $ cmd /c 'mkdir C:\te