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

How to set project root directory access right?

From: xumanjiang <xumanjiang_at_163.com>
Date: 2007-10-12 05:49:37 CEST

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.
Thanks!

2007-10-12

xumanjiang
Received on Fri Oct 12 05:49:47 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.