rsync assigns deny permission

Posted by user773478 on Server Fault See other posts from Server Fault or by user773478
Published on 2012-10-17T13:42:38Z Indexed on 2012/10/20 17:04 UTC
Read the original article Hit count: 200

Filed under:

Currently a script is used to copy files using rsync (version 2.6.9 protocol version 29) from Linux/Unix servers to W2K3 server using very basic command such as "rsync -v source_server::share_name/file_name /cygdrive///file_name"

The script further makes copy of this downloaded file for other purposes.

This is part of a larger middleware that is being moved to new hardware on W2K8R2

Second part of making copy of the file does not work using more recent rsync client version 3.0.7 protocol version 30 (shows up as cwRsync in add/remove programs)

Reason being rsync assigns special permissions to file that includes deny. The user (service account) which downloads the file is in local admin group. The file can be copied elsewhere using rsync. It can be deleted. But cannot be opened or copied locally by same user as deny permission supersedes.

© Server Fault or respective owner

Related posts about rsync