From 9c76ffcc04b5590f456a811bde2370c9bd82dc60 Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Thu, 14 May 2009 04:35:10 +0000 Subject: more fun with fighting against windows permission madness svn path=/trunk/; revision=11354 --- scripts/auto-build/extra-rsync.bat | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'scripts/auto-build') diff --git a/scripts/auto-build/extra-rsync.bat b/scripts/auto-build/extra-rsync.bat index 966df963..334bcceb 100644 --- a/scripts/auto-build/extra-rsync.bat +++ b/scripts/auto-build/extra-rsync.bat @@ -1,7 +1,10 @@ +REM uses http://setacl.sourceforge.net/ + cd \msys\1.0\home\pd\ -REM reset perms -echo y|cacls c:\msys\1.0\home\pd\auto-build /C /T /G pd:F everyone:R +REM echo y|cacls c:\msys\1.0\home\pd\auto-build /C /T /G pd:F everyone:R + +setacl -on c:\msys\1.0\home\pd\auto-build\pd-extended -ot file -actn ace -ace "n:pd;p:full,write_owner;i:so,sc;m:set" -ace "n:everyone;p:read;i:so,sc;m:set" REM Cygwin rsync seems to be unhappy with SVN's .svn file permissions, so REM ignore SVN files first to get all the 'meat' @@ -11,7 +14,3 @@ sleep 60 REM now get the SVN changes, this might fail a lot, especially on '.svn/entries' rsync -av --progress --whole-file --exclude='*inv\**' --timeout=60 rsync://128.238.56.50/distros/pd-extended/ /home/pd/auto-build/pd-extended/ - -REM reset perms -echo y|cacls c:\msys\1.0\home\pd\auto-build /C /T /G pd:F everyone:R - -- cgit v1.2.1