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

Re: Subversion user permissions

From: Hari Kodungallur <hkodungallur_at_gmail.com>
Date: 2007-05-31 08:20:14 CEST

On 5/30/07, sarancse <sarancse@gmail.com> wrote:
>
>
> I am using svn method in my client to access the subversion repository.

Which means you are using svnserve. Assuming you are using version 1.3 or
higher of subversion, you should be able to create path based read-write
permissions for users.

Please have a look at
http://subversion.tigris.org/svn_1.3_releasenotes.htmland look under
New Features: Path based authorization for svnserve.

In short, your svnserve.conf should look like:

[general]
password-db = <user file>
realm = my realm

anon-access = none [assuming you don't want anonymous users to access it]
auth-access = write

authz-db = <acl file>

Point <acl file> to a file that if of the following template:

[repository-root:/]
user1 = r
user2 = rw

[repository-root:/dir1/]
user1 = rw
user2 = rw

etc.

Hope this helps.

Thomas Harold wrote:
> >
> > sarancse wrote:
> >> Hi
> >> I created users to access subversion server.
> >> In that how to give read/write permissions to user?
> >> Can anyone help on this?
> >
> > What method are you using to access the SVN repository?
> >
> >

regards,
-Hari Kodungallur
Received on Thu May 31 08:20:45 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.