[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

'/media/Repositories/db/transactions/0-1.txn': Permission denied

From: Jeroen N. Witmond <jnw_at_xs4all.nl>
Date: 2006-05-25 09:49:36 CEST


I'm a newbie with svn, and I'm having problems with my initial import in
my freshly created repository. Specifically, I get error message:

  svn: Can't create directory
'/media/Repositories/db/transactions/0-1.txn': Permission denied

I'm running Ubuntu version 5.10 and svn version 1.2.0 (r14790) compiled
Jun 29 2005, 12:46:42.

I created the repository with command:
  sudo -u svnserve svnadmin create --fs-type fsfs /media/Repositories
Then I changed file /media/Repositories/conf/svnserve.conf to allow
anon-access = write, and started the server with:
  sudo -u svnserve svnserve --root=/media/Repositories -d

As an ordinary user (not root, not svnserve) I try to create project
'root' in the repository with command:
  svn import -m 'Revision 1!?' . svn://localhost/root

This results in the error message mentioned above. When I run svnserve
under `strace -f`, I notice this line in the output (after the stat for
the start-commit hook):

  [pid 8816] mkdir("/media/Repositories/db/transactions/0-1.txn", 0777) =
-1 EACCES (Permission denied)

Strange thing is that I can create the directory by hand with command:
  sudo -u svnserve mkdir /media/Repositories/db/transactions/0-1.txn

Can anybody help me fix this?

Thanks in advance.


To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu May 25 09:50:44 2006

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.