You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by sarancse <sa...@gmail.com> on 2007/06/01 09:32:55 UTC

Re: Subversion user permissions

Hi Friends

Have look at my svnserve.conf file.
[general]
anon-access = read
auth-access = write
password-db = passwd

Can anyone suggest me to authenticate users?


Hari Kodungallur-3 wrote:
> 
> On 5/30/07, sarancse <sa...@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
> 
> 

-- 
View this message in context: http://www.nabble.com/Subversion-user-permissions-tf3838903.html#a10909647
Sent from the Subversion Users mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: Subversion user permissions

Posted by Thomas Harold <tg...@tgharold.com>.
sarancse wrote:
> Hi Friends
> 
> Have look at my svnserve.conf file.
> [general]
> anon-access = read
> auth-access = write
> password-db = passwd
> 
> Can anyone suggest me to authenticate users?

Well you've got a few choices and the svnserve.conf comes into play 
after authentication (I think... we do svn+ssh authentication and don't 
touch our svnserve.conf files):

http://svnbook.red-bean.com/nightly/en/svn.serverconfig.choosing.html

Beyond that, I'm not exactly sure what you're asking...

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org