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

Re: Permission denied when import a project to subversion

From: Bryan Kardisco <bryan.kardisco_at_gmail.com>
Date: 2007-01-14 05:31:29 CET

Sometimes the stupid chmod and chown don't get into all of the
sub-directories. I know when I setup a server this past week I was having
all sorts of problems and that was one of the first ones I came across.

I'd verify that all of the folders & sub-folders are 755s for that group.
After that, if that doesn't work. Sometimes things are just goofy and you
can try to create a new repo and stuff.

On 1/13/07, ken carlino <ken.carlino@gmail.com> wrote:
>
> 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
>
>

-- 
Bryan Kardisco
PSU: Class of 2006
Information Sciences & Tech
Received on Sun Jan 14 05:31:54 2007

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