# cd /var/svn/repository# chown -R svn .
# chmod g+w db/rep-cache.db