Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I used a cygwin command like

rsync -rtl --delete --delete-excluded /cygwin/c /mydisk

on Windows XP and ended up with a 94 line long completely insane ACL for /mydisk/c. None of the options rtl should preserve ACL and there's surely no option for creating such a big mess.

I want no access control on /mydisk (i.e. an ACL granting access to everyone). I think I can fix it now using

cd /mydisk; cacls . /t /p everyone:f

Is this correct?

How can I make rsync do it this way?

share|improve this question
I would like to know a way to have rsync not touch my ACLs as well (i.e. just leave the ACL handling to Windows). – palswim Apr 14 '11 at 15:46
up vote 0 down vote accepted

rsync support keeping permissions with --perms and changing permissions with --chmod. There is also something called --acls, but I'm not sure how this is applied under cygwin.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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