[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 19:23:38 CET

Hi again Karl Heinz,

many thanks for your patience. Hereafter my (hopefully complete) answers to
your questions.

On Sunday 12 February 2006 16:19, Karl Heinz Marbaise wrote:
> Hi Bruno,
>
> >>>when using svnserve via xinetd, I have a problem related to the file
> >>>'format' in my repository as permission is denied (whatever access file
> >>>flags on file). 'Can't open file my_repo/...etc.../format : permission
> >>> is denied'
>
> Can you post the complete error message here...
svn info svn://192.168.1.2/
svn : Can't open file '/home/bruno/.svn_repository_documents/format' :
Permission denied

>
> > svn info svn://192.168.1.2/
> > As I said before, this command works fine when svnserve is started in
> > daemon,
>
> You started the svnserve as user bruno?
No. svnserve in daemon mode was started with user root.
(remind : svnserve via daemon mode is working fine, not xinetd)

>
> > but not via xinetd.
> > note: 192.168.1.2 is the IP address of my server.
>
> Ok. Would please give a liste "ls -al" of the directory "my_repo" cause
> it seemed to me you don't give the correct permissions to your directories.
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

>
> >>chmod -R 03777 /home/bruno/.svn_repository_documents
> >>and of course
> >>chown svnadmin:users for the directories...
> >
> > Try this but have still same problems
>
> I can't believe that, cause you give all permissions to all users
> and world...
for bruno : groups returns 'bruno uucp users svnuser'
for root : groups returns 'root bin daemon sys adm disk wheel svnadmin'

>
> Have you restarted xinetd ?
Yes, via kill -SIGUSR2 `cat /var/run/xinetd.pid`

>
> BTW: If you having this local repos just to synchronize with your server
> just take a look at svk.elixus.org which might be a solution for you...
Indeed. I don't know svk.elixus.org but in fact currently I use Subversion
because also looking for versioning..etc..for these documents.

>
> Kind regards.
> Karl Heinz Marbaise

Kind Regards,
Bruno

---------------------------------------------------------------------
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:26:03 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.