[Bps-public-commit] BPS git mailer tools branch, master, updated. b9bcf8499d10385a319dae9b822a7d1a9be61b9c

Kevin Falcone falcone at bestpractical.com
Mon Jul 13 17:10:22 EDT 2009


The branch, master has been updated
       via  b9bcf8499d10385a319dae9b822a7d1a9be61b9c (commit)
      from  b0b07965ba37508d7d12ae6492a327e4b033704d (commit)

Summary of changes:
 create-private-repo |    4 ++--
 create-repo         |    2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

- Log -----------------------------------------------------------------
commit b9bcf8499d10385a319dae9b822a7d1a9be61b9c
Author: Kevin Falcone <falcone at bestpractical.com>
Date:   Mon Jul 13 17:09:54 2009 -0400

    permission updates
    
    use a tigher umask on the repo directories
    change to the git-private group for /git-private repos

diff --git a/create-private-repo b/create-private-repo
index 6dbf5dd..19c95e3 100755
--- a/create-private-repo
+++ b/create-private-repo
@@ -21,11 +21,11 @@ fi
 TEMP=$$
 
 ssh fsck.com "\
-    mkdir /git-private/$REPO.git && \
+    mkdir -m 0750 /git-private/$REPO.git && \
     cd /git-private/$REPO.git  && \
     git init --shared --bare  && \
     echo "$RAW_REPO" > description && \
-    chgrp -R rt-priv-svn /git-private/$REPO.git && \
+    chgrp -R git-private /git-private/$REPO.git && \
     mkdir /tmp/git-init-$TEMP && \
     cd /tmp/git-init-$TEMP && \
     git clone /git-private/$REPO.git && \
diff --git a/create-repo b/create-repo
index 219ce4a..e42b536 100755
--- a/create-repo
+++ b/create-repo
@@ -21,7 +21,7 @@ fi
 TEMP=$$
 
 ssh fsck.com "\
-    mkdir /git/$REPO.git && \
+    mkdir -m 0750 /git/$REPO.git && \
     cd /git/$REPO.git  && \
     git init --shared --bare  && \
     echo "$RAW_REPO" > description && \

-----------------------------------------------------------------------



More information about the Bps-public-commit mailing list