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

Re: Re: How to set project root directory access right?

From: xumanjiang <xumanjiang_at_163.com>
Date: 2007-10-12 06:33:50 CEST

I am using subversion 1.4.4 on Solaris 10 x86, which was downloaded from www.sunfreeware.com.
Client side consists of both Windows and Solaris.
I am wondering whether any of you have met this problem before?
Thanks!


2007-10-12



xumanjiang



发件人: Ryan Schmidt
发送时间: 2007-10-12 11:54:07
收件人: xumanjiang
抄送: users
主题: Re: How to set project root directory access right?

On Oct 11, 2007, at 22:49, xumanjiang wrote:

> I have met a problem if I set access right of a project's root
> directory to be "r" instead of "rw". If I did that, different
> users will not be able to modify files in one directory.
>
> This is my test repository:
>
> / ---t1
> L__t2
>
> and the section of my authz file is:
>
> [test:/]
> * = r
>
> [test:/t1]
> * = rw
> Then two users try to modify different files in same directory:
> 1. A locks file "a.txt" in directory "t1".
> 2. B Locks file "b.txt" in "t1".
> 3. A and B modifies their files.
> 4. B commits "b.txt". (This action success)
> 5. A commits "a.txt". (This action fails with "Authorization failed")
>
> If I change the authz to:
> [test:/]
> * = rw
>
> [test:/t1]
> * = rw
> and redo the same step, everything is OK.
>
> I'm confused about the root directory access right. Please help me.

What version of Subversion do you have? I believe this used to be a
problem. Upgrade to Subversion 1.4.5 if you have an earlier version.


.
Received on Fri Oct 12 06:34:03 2007

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.