[Reproducible-commits] [misc] 01/01: hopefully fix groups when doing rsync to alioth
Ximin Luo
infinity0 at debian.org
Sun May 22 22:42:55 UTC 2016
This is an automated email from the git hooks/post-receive script.
infinity0 pushed a commit to branch master
in repository misc.
commit e2007b239cfef4a50ac85f89b1e18f26f77a94fd
Author: Ximin Luo <infinity0 at debian.org>
Date: Mon May 23 00:41:24 2016 +0200
hopefully fix groups when doing rsync to alioth
- --no-g avoids messing with existing groups
- -p is needed for --chmod to work properly
- add Dg+s to force setgid bit on the mail dir
---
reports/bin/sync-master-to-alioth | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/reports/bin/sync-master-to-alioth b/reports/bin/sync-master-to-alioth
index 4af634e..e00769b 100755
--- a/reports/bin/sync-master-to-alioth
+++ b/reports/bin/sync-master-to-alioth
@@ -3,5 +3,5 @@
mkdir -p data/debian-devel-changes
rsync -av --delete --progress -f '- *19????.?z' -f '- *200???.?z' -f '- *201[0-4]??.?z' \
master.debian.org:/srv/mail-archives/lists/debian-devel-changes/ data/debian-devel-changes/
-rsync -r -v --chmod=g+rw --delete --progress -f '- *19????.?z' -f '- *200???.?z' -f '- *201[0-4]??.?z' \
+rsync -rv --no-g -p --chmod=Dg+s,g+rw --delete --progress -f '- *19????.?z' -f '- *200???.?z' -f '- *201[0-4]??.?z' "$@" \
data/debian-devel-changes/ alioth.debian.org:/home/groups/reproducible/mirror/debian-devel-changes/
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/reproducible/misc.git
More information about the Reproducible-commits
mailing list