Subversion Notes

Notes to self about subversion.
To get the permssions right read the following.
What follows is probably a butchers job.
if [ -d $REPO ]; then
echo “Repository already exists”
exit 1;
mkdir $REPO
chown svn:svn $REPO
chmod +s $REPO
chmod g+w $REPO
svnadmin create –fs-type fsfs $REPO
cd $REPO
chmod g+w db
chmod g+w db/transactions
chmod g+w db/write-lock
chmod g+w db/revs/
chmod g+w db/revs/*
chmod g+w db/revprops
chmod g+w db/revprops/*

Leave a Reply

Your email address will not be published. Required fields are marked *