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

Re: Recursive ACLs fail

From: Jeremiah Foster <jeremiah.foster_at_pelagicore.com>
Date: Thu, 11 Mar 2010 17:20:27 +0100

On Mar 11, 2010, at 5:15 PM, Andy Levy wrote:

> On Thu, Mar 11, 2010 at 11:06, Jeremiah Foster
> <jeremiah.foster_at_pelagicore.com> wrote:
>> Hello,
>>
>> I have a repo that looks like this:
>>
>> /var/svn-repos/uml-model
>> /var/svn-repos/uml-model/sandbox/
>> /var/svn-repos/uml-model/sandbox/trunk/
>> /var/svn-repos/uml-model/sandbox/tags/
>> /var/svn-repos/uml-model/sandbox/branch/
>>
>> And I want to have read-write permissions on the sandbox, but not on uml-model. So I have set up an ACLs fie which looks like this:
>>
>> [uml-model:/]
>> * = r
>>
>> [uml-model:/sandbox/]
>> * = rw
>>
>>
>> I am using LDAP for authentication which works fine. But what I cannot get to work is to permissions to be inheritable. No matter what my configuration, Subversion and Apache only allow me to read or write in /sandbox depending on the permissions of /.
>>
>> Is there any way I can specify ACLS per directory? What am I doing wrong?
>
> Change:
> [uml-model:/sandbox/]
> To:
> [uml-model:/sandbox]
>
> I don't think the trailing slash is permitted. Every example in the
> manual omits the trailing slash on paths.

Thank you Andy. Your suggestion fixed my problem. I have the book open to the page mentioning the ACLs format and I can see that, yes, there is no trailing slash in the example. Why I added it, I don't know.

Thanks again.

Jeremiah
Received on 2010-03-11 17:22:00 CET

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