You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Martynov Andriy <an...@siemens.com> on 2005/01/17 13:40:53 UTC

Bug report: access file syntax

Hello dear Developers of Subversion!

Maybe I shouldn't write to the developer's mailing list, but I didn't find
the bug report link at http://subversion.tigris.org/ and that also comes
from the severity of the problem. It is about access file, that is specified
in AuthzSVNAccessFile parameter in Location tag in httpd.conf file of Apache
2.0 installation. 

Please, take a look at the following sample contents of access file:

#------------------------- ACCESS FILE BEIGN ------------------------------
[groups]
friendship = harry, sally

[Repos1:/]
@friendship = r
 harry = rw

[Repos2:/]
 @friendship = r
sally = rw

[Repos3:/]
@friendship = rw
#------------------------- ACCESS FILE END ---------------------------------

Please, notice here one space before user "harry" in project Repos1
settings. It is not critical - I've already proven that.
Please, notice here also one space before @-symbol in settings for group
"friendship" for Repos2 project. That space is VERY critical. With it
nothing (I mean, nothing in cooperation, but separately svn works only local
then, not about network, Apache 2.0 - also works correctly, but separately)
works, but without it - does! Everything works perfectly with the following
contents of access file:

#------------------------- ACCESS FILE BEIGN ------------------------------
[groups]
friendship = harry, sally

[Repos1:/]
@friendship = r
 harry = rw

[Repos2:/]
@friendship = r
sally = rw

[Repos3:/]
@friendship = rw
#------------------------- ACCESS FILE END ---------------------------------

There is still space before harry in Repos1, but no the one before @ in
Repos2. That is such a bug. It was simply an occasion, that I found this
space, because I couldn't find the reason of Subversion refusing to perform
operations over network for several hours.

I've got svn version 1.1.1 (r11581).

With best regards,
Andriy Martynov,
a thankful SVN User and Administrator


P.S. Many-many thanks for so wonderful Version Control System, as
Subversion. Definitely better, than CVS!!!

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: Bug report: access file syntax

Posted by Max Bowsher <ma...@ukf.net>.
Martynov Andriy wrote:
> Hello dear Developers of Subversion!
>
> Maybe I shouldn't write to the developer's mailing list, but I didn't find
> the bug report link at http://subversion.tigris.org/ and that also comes
> from the severity of the problem. It is about access file, that is 
> specified
> in AuthzSVNAccessFile parameter in Location tag in httpd.conf file of 
> Apache
> 2.0 installation.
>
> Please, take a look at the following sample contents of access file:
>
> #------------------------- ACCESS FILE 
> BEIGN ------------------------------
> [groups]
> friendship = harry, sally
>
> [Repos1:/]
> @friendship = r
> harry = rw
>
> [Repos2:/]
> @friendship = r
> sally = rw
>
> [Repos3:/]
> @friendship = rw
> #------------------------- ACCESS FILE 
> END ---------------------------------
>
> Please, notice here one space before user "harry" in project Repos1
> settings. It is not critical - I've already proven that.
> Please, notice here also one space before @-symbol in settings for group
> "friendship" for Repos2 project. That space is VERY critical. With it
> nothing (I mean, nothing in cooperation, but separately svn works only 
> local
> then, not about network, Apache 2.0 - also works correctly, but 
> separately)
> works, but without it - does! Everything works perfectly with the 
> following
> contents of access file:
>
> #------------------------- ACCESS FILE 
> BEIGN ------------------------------
> [groups]
> friendship = harry, sally
>
> [Repos1:/]
> @friendship = r
> harry = rw
>
> [Repos2:/]
> @friendship = r
> sally = rw
>
> [Repos3:/]
> @friendship = rw
> #------------------------- ACCESS FILE 
> END ---------------------------------
>
> There is still space before harry in Repos1, but no the one before @ in
> Repos2. That is such a bug. It was simply an occasion, that I found this
> space, because I couldn't find the reason of Subversion refusing to 
> perform
> operations over network for several hours.
>
> I've got svn version 1.1.1 (r11581).

Could you put this into the issue tracker, please?

But don't just give the examples, it's a little hard to work out.
Give a summary, like "mod_authz_svn intolerant of whitespace before @group, 
even though it accepts it before username".

Thanks.
Max.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org