[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: Thomas Hemmer <themmer_at_go-engineering.de>
Date: 2006-09-15 11:14:20 CEST

Christian,

simply omit the line

* =

within the [/source] section, and it should work fine.

This is because initially nobody at all has access (neither read nor write) to
/Source, so there is no need to explicitly revoke permissions for "everyone".
After all research I have done on this topic it seems to me as if a "deny"
always wins over an "allow" that is placed on the same item which is why you
can't follow the approach "first of all deny everything from everyone and then
grant permissions as needed".

Hope this helps,

Thomas

> -----Original Message-----
> From: Christian Foerg [mailto:christian.foerg@alfavision.de]
> Sent: Thursday, September 14, 2006 3:34 PM
> To: users@subversion.tigris.org
> Subject: Not authorized
>
>
> Hi everybody!
>
> I got an autorisation problem on svn.
> I'm running svnserve and do the authorisation with a passwd
> and a authz file.
> Here the content:
>
> 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.
>
> Any idea???
>
>
> Thx
> Christian
>
> ---------------------------------------------------------------------
> 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 11:15:02 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.