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

Permission denied when import a project to subversion

From: ken carlino <ken.carlino_at_gmail.com>
Date: 2007-01-14 04:55:02 CET

Hi,

I have created a new repository in subversion using this (with the group 'svn'):
 svnadmin create /srv/svn/repositories/sample

And then i try to import a project by doing this:

$ svn import . file:///srv/svn/repositories/sample --message "Initial import"

But I get an error like this:
subversion/libsvn_subr/io.c:2764: (apr_err=13)
svn: Can't create directory
'/srv/svn/repositories/sample/db/transactions/0-1.txn': Permission
denied

And I have checked the permission on linux:
$ ls -la
total 36
drwxr-xr-x 7 svn svn 4096 Jan 13 21:43 .
drwxr-xr-x 3 svn svn 4096 Jan 13 21:43 ..
drwxr-xr-x 2 svn svn 4096 Jan 13 21:43 conf
drwxr-xr-x 2 svn svn 4096 Jan 13 21:43 dav
drwxrwsr-x 5 svn svn 4096 Jan 13 21:43 db
-r--r--r-- 1 svn svn 2 Jan 13 21:43 format
drwxr-xr-x 2 svn svn 4096 Jan 13 21:43 hooks
drwxr-xr-x 2 svn svn 4096 Jan 13 21:43 locks
-rw-r--r-- 1 svn svn 229 Jan 13 21:43 README.txt

And I am sure I am in 'svn' group:
$ grep svn /etc/group
svn:x:502:svn,carlino

Can you please tell me what am I missing?

Thank you.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sun Jan 14 04:55:37 2007

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