Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am importing my project to another machine on my LAN to the directory:

/srv/svn/repos/my-repo

where my-repo was created via svnadmin create option

The permissions of /srv/svn/repos/my-repo are

drwxr-xr-x 6 svn svn 4096 2010-04-19 17:30 my-repo

I executed following command to import myProject files to my-repo on remote system

sudo svn import -m "First import" myProject svn+ssh://baltusaj@192.2.12.133/srv/svn/repos/my-repo

This command started 'Adding' files but gave following error after 'Adding' 7 files

svn: Can't open file '/srv/svn/repos/baltoros-valgrind/db/txn-current-lock': Permission denied

Any idea whats going on...?

Thanks a lot

share|improve this question
up vote 0 down vote accepted

Okay. I got it via a friend.

Giving write permission to svn on the directory 'db' solves the problem.

Thanks

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .