We are what we repeatedly do. Excellence, therefore, is not an act, but a habit.
                    - Aristotle
 
Search
Search

 
 
Navigation menu
Navigation menu
 
 
 
 
Size_box_tl   Size_box_tr
 

svn: Can't create directory /db/transactions/0-1.txn': Permission denied

Today I have found myself struggling with SVN and it seemed as if I hit a deadend whenever trying to commit anything into new repository with the following message:

svn: Can't create directory /db/transactions/0-1.txn': Permission denied

The reason why I got stuck with this is because it would imply an SVN permission setting. I have checked the apache confing file and examined the authorization settings and the password file and everything seemed normal.

Then it hit me that when I was creating a new repository with svn admin all the files created where given ownership of the user I was using on the unix system. Therefore the permission message was not comming from SVN but from the OS.

I have run: chown -R apache:apache /svndir/repos/newrepo and this had done the trick.

Hope this helped you save some time.



© Inspire Software, Denys Pavlov, 2005-2012
© Inspire Software, Denys Pavlov, 2005-2012
 
Size_box_bl   Size_box_br