I am having some problems with my SVN server, and it appears to be related to permissions.
I followed this guide to a T: http://www.howtoforge.com/debian_subversion_websvn
, I even tried it on 2 servers, same issue on both.
When I make a commit to SVN, the permissions on the db/current file go bad. Thus, when using websvn, it gives me an error saying it doesnt have permission to read "/var/svn-repos/project_myproject/db/current"
To fix this, I need to run: # chown -R www-data:subversion [path]
as well as # chmod -R 770 [path]
That fixes it. If I don't run that, permissions on the file are set to the user that did the SVN commit. What makes it baffling to me is that the user that does the commit is a member of the subversion group, so it is beyond me as to why this is happening.
Can anyone offer any insight into this, I have done over an hour of searching and trying various tricks (even putting the two commands in a cron job that runs every minute as root, but that caused issues when doing the commit and gave permission problems during the commit causing it to error out then too) and gotten nowhere.
Thanks in advance!