I have set up a Linux Server and installed Apache and SVN and dav_svn on it. Now, when I try to upload to
Can't open file '/server/svn/repo/db/txn-current-lock': Permission denied
This is a common problem. You're almost certainly running into permissions issues. To solve it, make sure that the
apache user has read/write access to your entire repository. To do that,
chown -R apache:apache *,
chmod -R 664 * for everything under your svn repository.
The "664" string is an octal (base 8) representation of the permissions. There are three digits here, representing permissions for the owner, group, and everyone else (sometimes called "world"), respectively, for that file or directory.
Notice that each base 8 digit can be represented with 3 bits (000 for '0' through 111 for '7'). Each bit means something:
For example, 764 on a file would mean that:
Hope that clears things up!