Login | Register
My pages Projects Community openCollabNet

Discussions > users [DISABLED] > Newbie: txn-current-lock': Permission denied Problem

subversion
Discussion topic

Back to topic list

Newbie: txn-current-lock': Permission denied Problem

Author berlioz
Full name Mikhail Berlioz Alexandrovich
Date 2009-01-31 14:54:24 PST
Message Dear all,

I'm trying to use svn for collaboration in school. The repository is on my
personal workstation, is connected to the Internet via DSL, and accessible
by my classmates via a domain name.

I managed to get something right last semester. I successfully made a
repository in /svn/mfe (I'm using Linux). The contents and permissions of
/svn/mfe is:


drwxr-xr-x 2 root root 4.0K 2009-01-31 16:30 conf/
drwxr-sr-x 6 root root 4.0K 2009-01-31 16:31 db/
-r--r--r-- 1 root root 2 2008-09-09 13:40 format
drwxr-xr-x 2 root root 4.0K 2008-09-09 13:40 hooks/
drwxr-xr-x 2 root root 4.0K 2008-09-09 13:40 locks/
-rw-r--r-- 1 root root 229 2008-09-09 13:40 README.txt


The name of the directory that me and my classmates used is "200809" (I was
surprised there's no "/svn/mfe/200809" directory). We were able to use this
repository with no problems - it was really useful. I created passwords for
everybody in /svn/mfe/conf/passwd, and I think they used TortoiseSVN to
access the repository.

Now it's the new semester, and I want to make a new directory called
"200901", and I'm having a lot of trouble. Here's what I'm doing from my
home directory:

$ mkdir 200901
$ cd 200901
$ svn import -m "Initial Import" . file:///svn/mfe/200901

which results in:

     svn: Can't open file '/svn/mfe/db/txn-current-lock': Permission denied

Then I tried:

     $ cd ..
     $ svn import -m "Initial Import" 200901 file:///svn/mfe/200901

which results in the exact same error message. Trying to skin a cat in
another manner, I went to my Windows machine, right-clicked and chose
"TortoiseSVN | RepoBrowser". For the URL I chose "svn://192.168.55.2/mfe"
(the IP address of my Linux box on my local home network) and pressed OK.
In the right hand pane I saw exactly what I expected to see:

* svn://192.168.55.2/mfe
   * 200809

And all the files I expected to see were in the 200809 directory. Next I
right-clicked in the left hand pane and chose "Create Folder" (I noticed an
option "Add Folder", but I don't know what the difference between the two
are) and successfully created a folder called 200901. TortoiseSVN now
showed:

* svn://192.168.55.2/mfe
   * 200809
   * 200901

I was even able to add a test file to 200901 using TortoiseSVN. I went
back to my Linux box, and checked out the project using:

$ svn checkout file:///svn/mfe/200901
A 200901-StructuredFin​ance/testfile.txt
Checked out revision 314.

I modified this file, and did an "svn commit", but got an error message:

$ svn commit
svn: Commit failed (details follow):
svn: Can't open file '/svn/mfe/db/txn-current-lock': Permission denied
svn: Your commit message was left in a temporary file:
svn: '/home/mikhail/acade​mia/200901/svn-commi​t.tmp'

I can't commit anything, in fact. I tried:

$ touch foo
$ svn add foo
A foo
$ commit foo

and I get the same error message:

$ svn commit
svn: Commit failed (details follow):
svn: Can't open file '/svn/mfe/db/txn-current-lock': Permission denied
svn: Your commit message was left in a temporary file:
svn: '/home/mikhail/acade​mia/200901/svn-commi​t.tmp'

I really dislike programming on my Windows box, so I definitely want to get
svn access to my repository from my Linux machine working.

Can some kind soul *please* help me with this? I really am at wit's end and
don't have the faintest clue how to go about fixing this.

I hope I gave enough details. If there are any other details that might
help in diagnosing this problem, please ask.

Thanks!
Mikhail
Attachments

« Previous message in topic | 1 of 5 | Next message in topic »

Messages

Show all messages in topic

Newbie: txn-current-lock': Permission denied Problem berlioz Mikhail Berlioz Alexandrovich 2009-01-31 14:54:24 PST
     Re: Newbie: txn-current-lock': Permission denied Problem hkodungallur Hari Kodungallur 2009-01-31 16:53:27 PST
         Re: Newbie: txn-current-lock': Permission denied Problem berlioz Mikhail Berlioz Alexandrovich 2009-01-31 18:01:34 PST
     Re: Newbie: txn-current-lock': Permission denied Problem ryandesign Ryan Schmidt 2009-01-31 18:52:06 PST
     Re: Newbie: txn-current-lock': Permission denied Problem JeremyP <jeremyp at jeremyp dot net> JeremyP <jeremyp at jeremyp dot net> 2009-02-02 07:20:46 PST
Messages per page: