[gnome-git-migration] Avoid recursive chgrp and chmod on the created repo.



commit 347e8b0ca2470359353bfd24b966d9954f77ecf5
Author: Kristian Høgsberg <krh redhat com>
Date:   Wed Apr 1 11:36:47 2009 -0400

    Avoid recursive chgrp and chmod on the created repo.
    
    Instead, we create the repo in a directory chgrp'ed to gnomecvs
    with the setgid bit set.  That way we don't need to mess with
    permissions and group ownership after the fact.
---
 import/install-repo.sh |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/import/install-repo.sh b/import/install-repo.sh
index 85c974c..9972279 100755
--- a/import/install-repo.sh
+++ b/import/install-repo.sh
@@ -9,7 +9,5 @@ git config hooks.mailinglist svn-commits-list gnome org
 ln -sf /home/admin/gitadmin-bin/gnome-pre-receive $GIT_DIR/hooks/pre-receive
 ln -sf /home/admin/gitadmin-bin/gnome-post-receive $GIT_DIR/hooks/post-receive
 
-chgrp gnomecvs -R $GIT_DIR
-chmod g+s -R $GIT_DIR
 git config core.sharedrepository 1
 mv $GIT_DIR $DST



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]