summaryrefs'>log'>tree'>commit'>diffstats
diff options
context:
space:
mode:
authorBertrand Jacquin (Beber) <beber.mailing@gmail.com>2006-03-01 22:58:02 +0100
committerbeber <beber@guybrush.melee>2006-03-01 22:58:02 +0100
commit'>da691199bb69d57525973f8e64634b10017eca4a ( ('>patch)
tree'>9c46fdc14887df66595d24e6ede5c5f6cac9ae3a
parent'>Make it work ( (diff)
downloadperso-da691199bb69d57525973f8e64634b10017eca4a.tar.gz
Reeable mode change in hooks
2775 for all files
-rwxr-xr-xgit/hooks/pre-update6
-rwxr-xr-xgit/hooks/update2
2 files changed, 4 insertions, 4 deletions
diff --git a/git/hooks/pre-update b/git/hooks/pre-update
index a0f5ce2..195e456 100755
--- a/git/hooks/pre-update
+++ b/git/hooks/pre-update
@@ -3,9 +3,9 @@
# (c) 2006 Bertrand Jacquin <beber.mailing@gmail.com>
# Change rights for apache users
-# 664 for files
-# 775 for reps
+# 2664 for files
+# 2775 for reps
# owned by git group
sudo find refs objects info -type d -exec chmod 2775 {} \;
-sudo find refs objects info -type f -exec chmod 2664 {} \;
+sudo find refs objects info -type f -exec chmod 2775 {} \;
sudo find refs objects info -exec chown apache:git {} \;
diff --git a/git/hooks/update b/git/hooks/update
index cdc7d07..ae66794 100755
--- a/git/hooks/update
+++ b/git/hooks/update
@@ -31,7 +31,7 @@ echo "$(pwd)" >> ${log}
echo "$@" >> ${log}
# Change perms
-#hooks/pre-update # Unneeded when using cg-admin-setuprepo(1)
+hooks/pre-update # Unneeded when using cg-admin-setuprepo(1)
# Email is directly send to project owner (declared in info/owner)
if [ -e info/owner ]; then