title: svn import command giving error?
body: <p>I am trying to import a repository into SVN using:</p>
  
  <pre><code>svn import /home/guest/Desktop/first_repo/ file:///var/www/svn/repos/first_one -m "first repository"
  </code></pre>
  
  <p>When I fire this command, I get a big list of added files and finally it exits with the error listed below:</p>
  
  <pre><code>svn: Can't move '/var/www/svn/repos/db/txn-protorevs/1-d.rev' to
  '/var/www/svn/repos/db/revs/0/2': Permission denied
  </code></pre>
  
  <p>I changed the permissions of the <code>repos</code> directory and all the files in it to 777. I disabled selinux. </p>
  
  <p>Then, I tried the same as <code>Super User</code>: it has been added and I am also able to checkout. But, when I try to commit with some changes (as a normal user) I get the same error again:</p>
  
  <pre><code>Transmitting file data .svn: Commit failed (details follow):
  svn: Can't move '/var/www/svn/repos/db/txn-protorevs/1-e.rev' to
  '/var/www/svn/repos/db/revs/0/2': Permission denied
  </code></pre>
  
  <p>Now I have two questions:  </p>
  
  <ol>
  <li>Is <code>svn import</code> a must and should it be done as <code>Super User</code>? If yes, why I am not able to commit as a normal user? (I am giving 777 permissions)</li>
  <li>Am I doing anything wrong?</li>
  </ol>