I tried to install svn on my ubuntu, but I have now a permission problem when I try to commit a project :
svn: E204899: Can't get exclusive lock on file '/home/svn/db/txn-current-lock': /home/svn/db/txn-current-lock (Permission denied)
Here are the steps I followed in order to install SVN (using the doc https://doc.ubuntu-fr.org/subversion)
I have created a user :
sudo addgroup svn --system
sudo adduser svn --system --home /home/svn --ingroup svn
Then, I have created the repo :
sudo -u svn svnadmin create /home/svn
Here are the files I have modified in the svn conf folder :
svnserve.conf:
[general]
anon-access = none
auth-access = write
password-db = passwd
realm = svn
And passwd file :
[users]
svn = svnpass
as the svn system user I have created before does not seem to have a password, I have tried this too :
[users]
svn =
I have created the init.d script like they show in the document (replacing the custom values) and launch it using
sudo /etc/init.d/svnserve start
or tried too using :
sudo -u svn /etc/init.d/svnserve start
The server seems to be launched well as I can see the process using ps command.
In Eclipse, I can add the repo location, it works. But when I try to commit a project, I have the error indicated above. I have tried using svn user with and without a password.
All the files in /home/svn belong to svn:svn (even the txn-current-lock file)
Does anyone have an idea of the problem ?
Thank you !