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

Re: svnserve via xinetd : file 'format' permission denied

From: Bruno Costacurta <cob1_at_biz.tiscali.be>
Date: 2006-02-12 22:07:01 CET

Hi again Karl Heinz,

On Sunday 12 February 2006 17:49, Karl Heinz Marbaise wrote:
> Hi Bruno,
>
> > svn info svn://192.168.1.2/
> > svn : Can't open file '/home/bruno/.svn_repository_documents/format' :
> > Permission denied
>
> [...]
>
> > ls -al /home/bruno/.svn_repository_documents/
> > total 36
> > drwxrwsrwt 7 svnadmin users 4096 Feb 11 18:51 .
> > drwx------ 73 bruno 1003 4096 Feb 12 13:13 ..
> > drwxrwsrwt 2 svnadmin users 4096 Feb 11 23:34 conf
> > drwxrwsrwt 2 svnadmin users 4096 Feb 11 18:51 davroot bin daemon sys
> > adm disk wheel svnadmin
> > drwxrwsrwt 5 svnadmin users 4096 Feb 12 00:37 db
> > -rwxrwxrwt 1 svnadmin users 2 Feb 11 18:51 format
> > drwxrwsrwt 2 svnadmin users 4096 Feb 11 18:51 hooks
> > drwxrwsrwt 2 svnadmin users 4096 Feb 11 18:51 locks
> > -rwxrwxrwt 1 svnadmin users 379 Feb 11 18:51 README.txt
>
> Now it's clear what's going on.
>
> > drwx------ 73 bruno 1003 4096 Feb 12 13:13 ..
>
> You have to give
> others the permission to change into your home directory.
> You should chmod 0755 your /home/bruno directory, cause you don't allow
> any other user to change into your home directory.
> You have created a user svnadmin and run the xinetd with that user, but
> you don't allow any user to go into your home directory.
>
> First you should change your home directory (for testing) to the above
> (chmod 0755 /home/bruno) and try it again.
>
> After that you should change the user of the entry for xinetd into e.g.
> "bruno" instead of svnadmin and test this...

Indeed after 'chmod /home/bruno' svnserve (via xinetd) works fine.
Thanks a lot for your time.

Kind Regards,
Bruno

> Kind Regards
> Karl Heinz Marbaise

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sun Feb 12 21:09: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.