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

Re: svnserve authx problems...

From: Tankko <tankko_at_gmail.com>
Date: 2006-06-13 18:22:02 CEST

On 6/13/06, Lieven Govaerts <lgo@mobsol.be> wrote:
> Quoting Tankko <tankko@gmail.com>:
>
> [..]
> > Error: Not authorized to open root of edit operation
> >
> > He can't get any access at all unless I add him to the [/] block as rw.
> >
> > I've tried giving him access to [/], but then blocking access to
> > [/trunk], then granting to [/trunk/Data], but nothing works.
> >
> > What am I doing wrong? Everything works fine if I remove the authz-db
> > = authfile line as well, so svnserve is function correctly without
> > authz.
>
> Is the user trying to checkout trunk directly? So you expect him to only
> receive:
> /trunk/Source
> /trunk/Data
>
> With this configuration, he has to checkout trunk/Source and trunk/Data one by
> one. One has to have read access on the folder to be able to checkout that
> folder!
>
> Maybe read also this issue, it talks about setting execute rights on a folder
> (instead of read rights):
> http://subversion.tigris.org/issues/show_bug.cgi?id=2298
>
> hope this helps,
>
> Lieven.
>
> ----------------------------------------------------------------
> This message was sent using IMP, the Internet Messaging Program.

He is not trying to check out the /trunk, he is checking out
/trunk/Data and /trunk/Source separately and being denied access.

I am running svnserve, not apache, so I don't know if that matters to
your execute comment. I did not see anything about execute
permissions in the docs about the authz-db file for svnserve.

This seems like a very basic thing: give someone access to only one
folder in a repository, but I just can't see what I am doing wrong.
Have other people gotten this to work (no read access!, just the
ability to checkout, update and commit one folder)? Is so, can you
post your authzfile?

On 6/13/06, Lieven Govaerts <lgo@mobsol.be> wrote:
> Quoting Tankko <tankko@gmail.com>:
>
> [..]
> > Error: Not authorized to open root of edit operation
> >
> > He can't get any access at all unless I add him to the [/] block as rw.
> >
> > I've tried giving him access to [/], but then blocking access to
> > [/trunk], then granting to [/trunk/Data], but nothing works.
> >
> > What am I doing wrong? Everything works fine if I remove the authz-db
> > = authfile line as well, so svnserve is function correctly without
> > authz.
>
> Is the user trying to checkout trunk directly? So you expect him to only
> receive:
> /trunk/Source
> /trunk/Data
>
> With this configuration, he has to checkout trunk/Source and trunk/Data one by
> one. One has to have read access on the folder to be able to checkout that
> folder!
>
> Maybe read also this issue, it talks about setting execute rights on a folder
> (instead of read rights):
> http://subversion.tigris.org/issues/show_bug.cgi?id=2298
>
> hope this helps,
>
> Lieven.
>
> ----------------------------------------------------------------
> This message was sent using IMP, the Internet Messaging Program.
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Jun 13 18:24:00 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.