You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Necati Mercan <bo...@googlemail.com> on 2011/02/23 14:12:19 UTC
path based authorization, how to handle folder name with whitespace
in auth file
Hi,
if this is an accidental double post, my apologizes.
I'm using svn-version 1.4.6, apache version 2.2.8 on an ubuntu 8.04 LTS.
On the client side, mostly win xp with tortoisesvn.
The setup is using https and path-based-authorization and everything
was working fine.
Users are separated into different groups, not everyone has access
everywhere and on every repository.
The situation at hand. In the authorization file dav_svn.authz:
[myrepo:/]
@G_everyone=
@G_general_myrepo_group=rw
[myrepo:/foobar]
@G_special=rw
This setup worked until "foobar" got renamed into "foo bar". I want to
give also the @G_special access to the folder "foo bar".
How do I specify a folder with whitespaces in its name? Tried single
quotes, double quotes, %20 but to be honest it is irritating.
Simply don't know truly how the modules and apache interact and work,
therefore no clue how to specify the path in the auth-file. Trial and
error didn't work, searching for the topic also didn't provide answers
that work. Or I just made a typo somewhere.
It must be something simple. I hope you can help me or point me to
documentation that covers the necessary topics.
Thank you in advance,
Necati Mercan
Re: path based authorization, how to handle folder name with whitespace in auth file
Posted by Ryan Schmidt <su...@ryandesign.com>.
On Feb 23, 2011, at 07:12, Necati Mercan wrote:
> I'm using svn-version 1.4.6, apache version 2.2.8 on an ubuntu 8.04 LTS.
Please upgrade; 1.4.x and earlier are not supported anymore.
Re: path based authorization, how to handle folder name with
whitespace in auth file
Posted by Necati Mercan <bo...@googlemail.com>.
Hi,
yep indeed this was the first thing I tried. Thanks for all the replies.
simply using [myrepo:/foo bar] works.
The error was an unnecessary space in the declaration of the user
group @G_special_group
So a simple typo.
Thank you all again.
Necati
On Wed, Feb 23, 2011 at 6:03 PM, Daniel Shahaf <d....@daniel.shahaf.name> wrote:
> Necati Mercan wrote on Wed, Feb 23, 2011 at 14:12:19 +0100:
>> How do I specify a folder with whitespaces in its name? Tried single
>> quotes, double quotes, %20 but to be honest it is irritating.
>
> Have you tested just
>
> [/foo bar]
>
> ?
>
Re: path based authorization, how to handle folder name with
whitespace in auth file
Posted by Daniel Shahaf <d....@daniel.shahaf.name>.
Necati Mercan wrote on Wed, Feb 23, 2011 at 14:12:19 +0100:
> How do I specify a folder with whitespaces in its name? Tried single
> quotes, double quotes, %20 but to be honest it is irritating.
Have you tested just
[/foo bar]
?