[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: Karl Heinz Marbaise <khmarbaise_at_gmx.de>
Date: 2006-02-12 18:49:28 CET

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...

Kind Regards
Karl Heinz Marbaise

-- 
Software Entwicklungs- und Beratungs Service  http://www.soebes.de
Dipl.Ing.(FH) Karl Heinz Marbaise            email: info@soebes.de
Tel.: +49 (0) 241 / 16 91 210                 ICQ#: 135949029
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sun Feb 12 18:51:26 2006

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