Changeset e054fd4 in lab.git for TipAndDoc


Ignore:
Timestamp:
Dec 8, 2011 11:39:54 AM (13 years ago)
Author:
mitty <mitty@…>
Branches:
master, trunk
Children:
dc0e430
Parents:
4be622f
Message:
  • FIX: initial commit and then chmod repository files
  • FIX: ${NEWREPOS}/db: +ws -> +wX

git-svn-id: https://lab.mitty.jp/svn/lab/trunk@128 7d2118f6-f56c-43e7-95a2-4bb3031d96e7

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TipAndDoc/tools/tool/buildrepos.sh

    r7e593aa re054fd4  
    3131  ln -s ${HOOKSKEL}/${HOOK} ${NEWREPOS}/hooks 
    3232done 
     33 
     34if [ "$3" != "-noinit" ]; then 
     35    # initial commit 
     36    svn mkdir -m "REPOS init." file://${NEWREPOS}/trunk file://${NEWREPOS}/tags file://${NEWREPOS}/branches file://${NEWREPOS}/vendor 
     37fi 
     38 
     39# set permission 
    3340mkdir -p ${NEWREPOS}/dav 
    3441chgrp -R www-data ${NEWREPOS} 
    35 chmod -R o-rw ${NEWREPOS} 
    36 chmod -R g+ws ${NEWREPOS}/db 
    37 chmod -R g+ws ${NEWREPOS}/dav 
     42chmod -R o-rwx ${NEWREPOS} 
     43chmod -R g+wX ${NEWREPOS}/db 
     44chmod    g+ws ${NEWREPOS}/dav 
    3845 
    3946# make repos backup 
     
    4249chmod -R g+ws ${REPOSBACKUP} 
    4350 
    44 if [ "$3" != "-noinit" ]; then 
    45     # initial commit 
    46     svn mkdir -m "REPOS init." file://${NEWREPOS}/trunk file://${NEWREPOS}/tags file://${NEWREPOS}/branches file://${NEWREPOS}/vendor 
    47 fi 
    48  
    4951 
    5052echo "done" 
Note: See TracChangeset for help on using the changeset viewer.