At work we're using ssh to access the repositories. This causes constant permission problems, as a user writes the files as themself, leading to situations where the files aren't writable by others. Neither umask or the sticky bit on the db/ directory seem to fix it reliably. So, I added this line to the end of hooks/post-commit:
cd /path/to/repository/db && chmod g+w *
Ok you can still do this job with umask settingdave said:Thanks for the input, Alt, but I am not referring to subversion.