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

Re: Case sensitivity in authz files

From: Philip Martin <philip.martin_at_wandisco.com>
Date: Thu, 25 Apr 2013 13:05:12 +0100

Philip Martin <philip.martin_at_wandisco.com> writes:

> Julian Foad <julianfoad_at_btopenworld.com> writes:
>
>> So what exactly is broken, behaviour-wise?  Is authorization done with
>> case-insensitive username checking in the server, and the "svnauthz"
>> tool is broken in that it fails to do case-insensitive matching of
>> usernames?  Or something else?
>
> The tool and the server do the same thing. Switch the lines in this
> authz file:
>
> [/]
> pm = rw
> PM = r
>
> to give this:
>
> [/]
> PM = r
> pm = rw
>
> Those two files grant different permissions to usernames pm and PM and
> the permissions granted are not "pm=rw" or "PM=r".
>
> The behaviour can be explained but is it correct?

Groups are involved as well:

  [groups]
  abcd = pm
  ABCD = PM

  [/]
  @ABCD = r
  @adcd = rw

Care to guess what permissions I get for pm and PM? What if I add a
final "@abCD ="?

-- 
Certified & Supported Apache Subversion Downloads:
http://www.wandisco.com/subversion/download
Received on 2013-04-25 14:06:09 CEST

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.