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

SVN Access Privileges Problem

From: Paul <paul_at_helion-studios.com>
Date: 2006-06-29 12:25:26 CEST

Hi,

I'm new to SVN so if I'm doing something stupid please be kind :o)

I've set up a subversion server (running over the svn protocol, not apache)
and everything is working great apart from a small issue with the access
file.

I have several root directories that I need to access and update. I have
another directory that I need a colleague to access and update but he must
not be able to read or write to any of the other directories.

To do this I tried using the following access file:

[/]
john=rw

[/]
fred=r

[/fredsdir]
fred=rw

This works great when john tries to read/write to any of the directories. It
also allows Fred to read "fredsdir" and disallows him accessing any of the
other root directories. The problem is that when fred tries to commit
anything to "fredsdir" he gets a "no write access allowed" error.

I've managed to work around this by specifically disallowing Fred from
accessing any of the other directories:

[/]
john=rw

[/]
fred=rw

[/frednotalloweddir1]
fred=

[/frednotalloweddir2]
fred=

[/frednotalloweddir3]
fred=

[/frednotalloweddir4]
fred=

This works fine, but each time I add a new root directory I have to update
the access file to stop Fred from accessing it.

Any ideas on how to make the first version of the file work correctly?

Thanks,
Paul

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Jun 29 12:26:44 2006

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.