Subversion issue

Today I lost some time with my local Suversion setup. I kept on getting access denied ???
In the logs I found these errors:

)Error string not specified yet: Can’t open file ‘/raid/public/svnroot/project-name/format’: Permission denied
[Mon Mar 10 12:22:58 2008] [error] [client 10.0.10.91] Could not fetch resource information. [500, #0]
[Mon Mar 10 12:22:58 2008] [error] [client 10.0.10.91] Could not open the requested SVN filesystem [500, #13]
[Mon Mar 10 12:22:58 2008] [error] [client 10.0.10.91] Could not open the requested SVN filesystem [500, #13]

When I checked, the permissions where Okay, www-data was owner of the project-name and all files and subdirs. But still this error. I performed a svnadmin verify and recover as indicated in many posts. But no go 🙁

After some more googling I found the solution. The svnroot dir wasn’t accessible by www-data so changed this as well and now everything works fine. I found this problem many times but the indication to also check your parent directories wasn’t mentioned (off course this is a stupid mistake, but probably more people will forget to check this!). Hopes this helps some people out there!