SVN Permission problem


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers SVN Permission problem
# 1  
Old 05-24-2012
SVN Permission problem

I am running subversion 1.6.6 on Ubuntu 10.04 (Lucid), Viewvc
1.0.9 and apache2 (2.2.14) and LDAP authentication.


I have multiple repositories on my SVN server and it all
working fine, however I am unable to set access control (permissions) using AuthzSVNAccessFile.

“SVNParentPath /abc/svn”


The directories to my repositories are:
/abc/svn/repo1
/abc/svn/repo2
/abc/svn/repo3
/abc/svc/repo4

Users log-in with their LDAP account to https://www.test.com/viewvc or https://www.test.com/svn and can see all
repositories however when users drill down or click on repository only specific
users should be able to read and write to repository.

I tried to set up permission on repository but it does not
seem to work, where specific group of users are given read write access a
repository like

[groups]
developer1 = john, matthew, trevor
developer2 = john, monika, nick, Andrew
developer3 = john, victor, brown,


[/]
* = r

[repo1:/]
@developer1 = rw

[repo2:/]
@developer2 = rw

[repo3:/]
@developer3 = rw

The above permission does not work; users are still able to
drill down repositories regardless of permission, unless I explicitly state
that other groups have no permission to repository then it work like

[/]
* = r

[repo1:/]
@developer1 = rw
@developer2 =
@developer3 =

[repo2:/]
@developer2 = rw
@developer1 =
@developer3 =

[repo3:/]
@developer3 = rw
@developer1 =
@developer2 =


However if any users, that are not a member of developer1,
developer2 and developer3
Logs-in he can drill down to every repositories and read any
files.

How do I restrict access to repository to specify group?

Here is my dav_svn.conf

<Location /svn/>
DAV svn
SVNParentPath /abc/svn
SVNListParentPath On
AuthType Basic
AuthName
"Subversion Repository"
AuthBasicProvider ldap
AuthzLDAPAuthoritative on
AuthLDAPBindDN
"o=bindme"
AuthLDAPURL ldap://x.x.x.x:389/ STARTTLS
AuthzSVNAccessFile /etc/apache2/acl
Require valid-user
</Location>

What am I doing wrong? Can help please
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Making post down hook script for svn regarding sending emails after an file is committed in svn

Hi Folks , I am asking this question but i apologise please if this is not the correct forum , I have to develop a shell script that i want to place in at hooks/post-commit , that is basically i have to develop a post hook script and the main functionality of that script would be lets say if... (0 Replies)
Discussion started by: sunsun06060606
0 Replies

2. Solaris

How to integrate SVN client to SVN server repository.

Hi, I am new to SVN configuration on Solaris 10.I have installed SVN client version 1.7. bash-3.00# ./svn --version svn, version 1.7.4 (r1295709) compiled Mar 2 2012, 12:59:36 Here my requirement is how to integrate svn client to One of the SVN server repository. My repository... (0 Replies)
Discussion started by: muraliinfy04
0 Replies

3. Shell Programming and Scripting

SVN installation problem.

Hi, I am a perl user. I cannot check in files in my server. I have been provided with a svn_bin/svn file. I have put that file in my home directory. I need to extract the file using some command but am not successfull in getting the command. the command should be run so that i ll be able... (0 Replies)
Discussion started by: irudayaraj
0 Replies

4. Red Hat

svn+ssh problem

Hi! I have a really strange problem and i dont really know where the problem is. The problem is when i use svn+ssh in any way (commit, list etc.) and try to access the repo with a long path ex. svn ls... (0 Replies)
Discussion started by: dozy
0 Replies

5. UNIX for Advanced & Expert Users

Problem with Subversion SVN

Hi, I am trtying to install SVN server with Apache. I have already configured apache with SVN modulesh and the same can be seen in the modules directory. -rwxr-xr-x 1 root root 34740 Jul 3 13:43 mod_authz_svn.so -rwxr-xr-x 1 root root 385133 Jul 3 13:43 mod_dav_svn.so now the... (1 Reply)
Discussion started by: Siddheshk
1 Replies

6. UNIX for Dummies Questions & Answers

Permission problem

How would i change permissions for a new directory so that i am the only one who has any access to any of the files created in it (2 Replies)
Discussion started by: trob
2 Replies

7. AIX

Peculiar permission problem

Scenario: Step 1. I'm logging into AIX server using user id called user1 Step 2. I'm traversing to home directory of user2 Note: This user2's home directory has the permissions drwxr-s--- Step 3. I'm issuing command pwd there. I'm getting the expected output. Step 4. I'm issuing the... (3 Replies)
Discussion started by: krishmaths
3 Replies

8. Linux

dos2unix permission problem

Hi All, I want to use the command "dos2unix" to format the file line break from win to unix, but after changing the file permission has been change to 600. how can i keep the original permisson after formatting? Many thz (2 Replies)
Discussion started by: eric_wong_ch
2 Replies

9. Solaris

Permission Problem

I ran the sys-unconfig command and now I can't seem to change the permission on that folder evne though I'm the Superuser(Root admin). I need to fix this so the user 'tommy' can login and have his home directory working. How do I fix this??? http://www3.telus.net/superstar/error.jpg (6 Replies)
Discussion started by: kungpow
6 Replies

10. Forum Support Area for Unregistered Users & Account Problems

Permission problem

I am having problems editing my options and profile etc. Whenever i do, i am getting a message that says I don't have any permissions. Can u tell me a solution. (2 Replies)
Discussion started by: rockyrak
2 Replies
Login or Register to Ask a Question