cygwin + rsync : tips about permissions problem

Tevfik Karagülle tevfik at itefix.no
Wed Dec 10 05:13:59 EST 2003


Hi,

If you experience problems with permissions, make sure that your subdirectories inherit their permissions from the parent directory and you start rsync from a batch file where you set CYGWIN environment variable to nontsec. Example : 


      @echo off
      set CYGWIN=nontsec

      cd C:\Program Files\cwRsync

      echo -------------------------------- >> "C:\Program Files\cwRsync\rsync.log"
      date /T >> "C:\Program Files\cwRsync\rsync.log"
      time /T >> "C:\Program Files\cwRsync\rsync.log"

      rsync.exe --verbose --recursive --delete /cygdrive/d/xxxxx/xxxxxxx xxx.xxx.xxx.xxx::test >> "C:\Program Files\cwRsync\rsync.log"
     


I would also like to inform that I updated my cwRsync package with the latest rsync binary (2.5.7). http://itefix.no/cwrsync

Rgrds Tev


More information about the rsync mailing list