Q:

Subversion hook does not accept certificate permanently

I hope someone will be able to answer my question.
I have Subversion set up, served by Apache2+SSL, doing web development.
I want a post-commit hook that runs svn update on my testing server, so when someone commits, it will automatically update the testing site. The hook doesn't work because the certificate is a self generated one and it's not trusted.
I've tried to accept (p)ermanently, but it doesn't. 
Any ideas?

A:

root owned the .subversion folder in my $HOME, so i deleted it and ran 'svn up' again. Everything is good now.

A:

Under Linux:
Here I fixed the problem by chmodding the files in $HOME/.subversion/auth/svn.ssl.server to -rw-r--r--.
Apparently, if a server gets a new or upgraded certificate, It writes the new file, but doesn't add write-rights for itself. with -r--r--r-- rights the svn program works, but it can't write the "Accept permanently" flag to the file.. :)

