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

Re: Not authorized

From: Christian Foerg <christian.foerg_at_alfavision.de>
Date: 2006-09-15 14:02:41 CEST

Thanks for the quick answers!

The settings
   anon-access = none
   # * = ''
work. But now no unauthorized users can't read anything, what's not the
intention.
But don't mind, right now I configured a special guest-user replacing *.
This runs like intended.

Although, I think it's worth a bugfix.

Thanks

Christian

> You're right, sorry.
> anon-access = none is mandatory for my suggestion to work.
>
>
> Best regards,
>
> Thomas
>
>
>
>
>> -----Original Message-----
>> From: ??? [mailto:zhengxinxing@gmail.com]
>> Sent: Friday, September 15, 2006 12:46 PM
>> To: Thomas Hemmer
>> Cc: Christian Foerg; users@subversion.tigris.org
>> Subject: Re: Not authorized
>>
>> 2006/9/14, Christian Foerg <christian.foerg@alfavision.de>:
>> > svnserve.conf:
>> > anon-access = read
>> > auth-access = write
>> > password-db = passwd
>> > authz-db = authz
>> > realm = alfa
>> > passwd:
>> > [users]
>> > foerg = something
>> > authz:
>> > [groups]
>> > alfa = foerg
>> > [/]
>> > @alfa = rw
>> > * = r
>> > [/Libs]
>> > @alfa = rw
>> > * = r
>> > [/Header]
>> > @alfa = rw
>> > * = r
>> > [/Source]
>> > @alfa = rw
>> > root = r
>> > * =
>> >
>> > Everything on the authentification works just perfect except:
>> > (I use RapidSVN from Windows)
>> > If I try to checkout the directory "/Source", at logged-in
>> state, of
>> > course.
>> > I get the error message "Not authorized to open root of
>> edit operation".
>> > If I set "* = r" it works. But i'dont want everyone to checkout the
>> > sources.
>> >
>>
>> change your svnserve.conf:
>>
>> from
>> anon-access = read
>> auth-access = write
>>
>> to
>> #anon-access = read
>> auth-access = write
>>
>> or
>>
>> anon-access = none
>> auth-access = write
>>
>>
>> I got the same error several days ago. See
>> http://subversion.tigris.org/servlets/ReadMsg?listName=users&m
>> sgNo=54699
>> I guess may be it is a bug.
>>
>>
>> 2006/9/15, Thomas Hemmer <themmer@go-engineering.de>:
>> > Christian,
>> >
>> > simply omit the line
>> >
>> > * =
>> >
>> > within the [/source] section, and it should work fine.
>>
>> Delete "* =" within the [/source] section cannot work.
>> The only solution in my system is to get rid of the anonymous
>> read from svnserve.conf. Did I miss something?
>>
>> Thanks
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
>> For additional commands, e-mail: users-help@subversion.tigris.org
>>
>>
>>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Sep 15 14:03:24 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.