Subversion Notes

by paddyjackson

Notes to self about subversion.
To get the permssions right read the following.
RedBook
What follows is probably a butchers job.
#!/bin/sh
REPO=/usr/local/subversion
if [ -d $REPO ]; then
echo “Repository already exists”
exit 1;
fi
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/*

Advertisements