title: SVN Commit denied. Error "can not open file txn-current-lock"
body: <p>I am installing a SVN server (v1.6) on a VPS contracted with CentOS 5, Apache 2.2 with WHM panel.<br />
  I installed and configured all necessary modules and am able to create and access repositories via my web browser normally.</p>
  <h2>The problem is:</h2>
  <p>I can not commit or import anything, I always return error:</p>
  <pre><code>Error: Can not open file '/[path]/svn/test/db/txn-current-lock': Permission denied
  </code></pre>
  <p>I've read and execute permissions on numerous tutorials regarding this error, all without success.<br />
  I'm using TortoiseSVN to connect to the server.</p>
  <h2>Some information you may find useful:</h2>
  <ul>
  <li>I'm trying to perform commit through an external HTTP connection.</li>
  <li>SELinux is disabled.</li>
  <li>I've changed the owner of the folders to the user/group apache <code>chown -R apache: apache /var/www/svn</code></li>
  <li>I defined 777 permission to all folders and files <code>chmod -R 777 /var/www/svn</code></li>
  <li>Running the command to see the active processes of Apache, some processes are left with user/group &quot;nobody&quot;. I tried changing the settings of Apache to not run with that user/group, but all my websites stopped working.</li>
  </ul>
  <p>Apache process list:</p>
  <pre><code>root@vps [/var/www]# ps aux | egrep '(apache|httpd)'
  root     19904  0.0  4.4 133972 35056 ?        Ss   16:58   0:00 /usr/local/apache/bin/httpd -k start -DSSL
  nobody   20401  0.0  3.5 133972 27772 ?        S    17:01   0:00 /usr/local/apache/bin/httpd -k start -DSSL
  root     20409  0.0  3.4 133972 27112 ?        S    17:01   0:00 /usr/local/apache/bin/httpd -k start -DSSL
  nobody   20410  0.0  3.8 190040 30412 ?        Sl   17:01   0:00 /usr/local/apache/bin/httpd -k start -DSSL
  nobody   20412  0.0  3.9 190344 30944 ?        Sl   17:01   0:00 /usr/local/apache/bin/httpd -k start -DSSL
  nobody   20414  0.0  4.4 190160 35364 ?        Sl   17:01   0:00 /usr/local/apache/bin/httpd -k start -DSSL
  nobody   20416  0.0  4.0 190980 32108 ?        Sl   17:01   0:00 /usr/local/apache/bin/httpd -k start -DSSL
  nobody   20418  0.3  5.3 263028 42328 ?        Sl   17:01   0:12 /usr/local/apache/bin/httpd -k start -DSSL
  root     32409  0.0  0.1   7212   816 pts/0    R+   17:54   0:00 egrep (apache|httpd)
  </code></pre>
  <p>SVN folder permission <code>var/www/</code>:</p>
  <pre><code>drwxrwxr-x 3 apache apache 4096 Dec 11 16:41 svn/
  </code></pre>
  <p>Repository permission <code>var/www/svn/</code>:</p>
  <pre><code>drwxrwxr-x 6 apache apache 4096 Dec 11 16:41 test/
  </code></pre>
  <p>Internal folders of repository <code>var/www/svn/test</code>:</p>
  <pre><code>drwxrwxr-x 2 apache apache 4096 Dec 11 16:41 conf/
  drwxrwxr-x 6 apache apache 4096 Dec 11 16:41 db/
  -rwxrwxr-x 1 apache apache    2 Dec 11 16:41 format*
  drwxrwxr-x 2 apache apache 4096 Dec 11 16:41 hooks/
  drwxrwxr-x 2 apache apache 4096 Dec 11 16:41 locks/
  -rwxrwxr-x 1 apache apache  229 Dec 11 16:41 README.txt*
  </code></pre>