aboutsummaryrefslogtreecommitdiff
path: root/scripts/auto-build
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/auto-build')
-rw-r--r--scripts/auto-build/extra-rsync.bat11
1 files changed, 5 insertions, 6 deletions
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
-