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

Re: deny access via svnserve and authz

From: Eric Lee <eric_at_myprojects.srhost.info>
Date: Sat, 21 Jun 2008 05:05:47 +0800

----------------------------------------------------
http://myprojects.srhost.info
eric{at}myprojects{dot}srhost{dot}info

----- Original Message -----
From: "Emin.shopper Martinian.shopper" <emin.shopper_at_gmail.com>
To: <users_at_subversion.tigris.org>
Sent: Saturday, June 21, 2008 4:15 AM
Subject: deny access via svnserve and authz

: Dear Experts,
:
: Is there a way to deny access using svnserve and authz?
:
: Specifically, imagine that /foo has lots of subdirectories and I want
: to say that user X only has access to /foo/bar but not to any other
: subdirectory of /foo. Is there a way to grant access to /foo/bar but
: deny access to everything else in foo?
:

in authz file, add

<<<

[/]
user1 =

[/foo]
user1 =

[/foo/bar]
user1 = rw

>>>

in passwd file, add

<<<

user1 = &6h76dd9#%

>>>

in svnserve.conf file, change

<<<

### password-db = passwd
password-db = passwd

### authz-db = authz
authz-db = authz

>>>

Eric,

: Thanks,
: -Emin
:
: ---------------------------------------------------------------------
: To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
: For additional commands, e-mail: users-help_at_subversion.tigris.org
:

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-06-20 23:06:27 CEST

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.