When restoring files (using rsync over cygwin) from Linux to Microsoft Windows XP (and probably to all version of windows), each file restored has permissions so strict, that only the "SYSTEM" account may access these restored files.

I know how to change the permissions, but I'm looking for a solution that makes rsync-restored files inherit permissions of the parent folder to which the files are sync/restored. Or, simply modifies the files without changing their current permissions on the windows machine. Or something similar that ultimately restores the files in a manner in which I don't have to manually adjust permissions after each restore / sync.

  • 2
    I think this would be better-suited on Server Fault...
    – Skilldrick
    Feb 22, 2010 at 22:23

1 Answer 1


If you have the rsynch process run under the "administrator" user it will normally be ok. I Use delta copy under windows and set the deltacopy service to run as administrator also granting the administrator run as a service rights.

This solves the issue that you are facing.

  • Well, I'm actually doing this from a windows client-side service, using c#'s System.Diagnostics.Process object. The windows service is logged in as an administrator, but that alone isn't solving the problem.
    – LonnieBest
    Feb 23, 2010 at 0:21

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.