#!/bin/bash

# keep /etc secure
find /etc -type d -name .svn -print0 | xargs -0 -r chmod 700

# keep the repo itself secure
if [ -d /var/adm/etc-repos ]; then
	chmod 700 /var/adm/etc-repos
fi
if [ -d /var/adm/svnroot ]; then
	chmod 700 /var/adm/svnroot
fi
