This forum is no longer active. Please post your questions to our new community site
Can't open file '/opt/bitnami/repository/db/txn-current-lock': Permission denied
|
|
I am using the ubuntu with subversion virtual appliance. I can open the repository in TortoiseSVn, but have been unable to write (commit) anything and receive this error. - changing ownership of the repository Please excuse my ignorance, but what am I missing? Any help would be appreciated. Thanks |
|
|
Hi, Could you check the subversion server process? Who is the user that is running that process?
Try to modify the “/opt/bitnami/repository/” folder and its sub-folders permissions. |
|
|
That command yielded: root 659 0.0 0.1 4928 924 ? Ss 13:48 0:00 /opt/bitnami/subversion/bin/.svnserve.bin -d -r /opt/bitnami/repository —listen-port=3690 —pid-file=/opt/bitnami/subversion/tmp/svnserve.pid so I assume it is running as root. The /opt/bitnami/repository folders have the following permissions: drwxr-xr-x 2 root root 4096 2010-09-07 18:49 conf |
|
|
Hi, Are you configuring the users/password in the “conf/svnserce.conf” file or you are using SSH authentication? If you use the SSH authentication it is necessary configure the repository permissions. This quick guide could be help you http://svn.haxx.se/dev/archive-2004-03/0253.shtml |
|
|
I am trying to use http from tortoise svn to access it and basically just trying to create a folder so that I can test adding to the repository. My problem is that I have previously set up collabnet’s subversion 1.4 on a windows server, so configuring it was easier for me, but I want to set this up in this stack provided by bitnami. The entires stack comes ready to go, but it doesn’t seem to want to behave. Perhaps the problem is that I need to actually create a repository, set up users and not assume one was created, although the impression I got was that it was ready to go. Unfortuantely I am very green to the linux world and lightweight with subversion. I am not altering the svnserve.conf file at all (this is the way I did it on Windows, but that may change). I will attempt to create subversion users and set up project repositories if need be. Thanks for all your help. |
|
|
Hi, In the link that I sent you you can find the info to configure the Subversion server with SSH. If you prefer a basic authentication you can use the basic configuration that you find in the README file http://bitnami.com/files/stacks/subversion/1.6…. |
|
|
Thank you for all your help. I ended up using SVN:// and adjusting the svnserve.conf file. |
|
|
the following command worked for me chown -R root:root /opt/bitnami/repository |

