"Db/txn-current-lock permission denied" Error on Linux SVN Server

1.8k views Asked by At

For source controlling, I installed SVN .After that Add SVN Admin add-on in Webmin to configure users and their permission visually.
But I got an error when commit a new file/folder to repository. It seems the problem comes from user permission in repository directory: SVN Admin make repository with 'csvn' user but Apache can't write in the repository folder.
I don't want to add 777 permission to repository or change the owner to Apache, because after any change in repository by SVN Admin, this problem returns.

Whats the best solution to solve the problem?

1

There are 1 answers

2
orbrey On BEST ANSWER

Adding group write permissions to the folder and adding the apache user to the csvn user's group should help with this: chmod g+w /svn/repository then usermod -a -G csvn apache (substituting the correct path, user and group names - it's group first then username in the usermod command). Hope that gets it working for you.