Sponsored Content
Full Discussion: SVN Permission problem
Top Forums UNIX for Dummies Questions & Answers SVN Permission problem Post 302646153 by hassan1 on Thursday 24th of May 2012 02:42:07 PM
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
 

10 More Discussions You Might Find Interesting

1. 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

2. 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

3. 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

4. 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

5. 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

6. 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

7. 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

8. 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

9. 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

10. 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
native::Base(3) 					User Contributed Perl Documentation					   native::Base(3)

NAME
SVN::Base - Base class for importing symbols for svn modules SYNOPSIS
# Load the svn_ra_* functions into the SVN::Ra namespace. package SVN::Ra; use SVN::Base qw(Ra svn_ra_); # Load svn_config_t structure accessors in the magic namcespace # provided by swig, so we could use it returned by other functions package _p_svn_config_t; use SVN::Base qw(Core svn_config_); DESCRIPTION
SVN::Base is a module importing the subversion perl bindings raw symbols created by swig, into proper namespace and make them easier to use. It will also find the accessors for members of a C struct, create an simpler accessor function like "$data->field()" and "$data->field($new_value)". Once you understand the convention of subversion functions in perl bindings, you could look at the subversion api and write them in perl. The API is available in the source header files or online at http://svn.collab.net/svn-doxygen/. INTERNALS
The perl bindings of swig wraps raw functions into different perl modules, for example, SVN::_Core, SVN::_Repos. Upon import, SVN::Base bootstrap the requested module if it's not yet loaded, and iterate over the symbols provided in that module, it them puts the function with prefix trimmed in the namespace of the caller for this import. The 3rd through the last parameter is a list of symbol endings that you wish for SVN::Base not to import into your namespace. This is useful for cases where you may want to import certaion symbols differently than normally. CAVEATS
SVN::Base consider a function as structure member accessor if it is postfixed ``_get'' or ``_set''. Real functions with this postfixes will need extra handling. AUTHORS
Chia-liang Kao <clkao@clkao.org> COPYRIGHT
Copyright (c) 2003 CollabNet. All rights reserved. This software is licensed as described in the file COPYING, which you should have received as part of this distribution. The terms are also available at http://subversion.tigris.org/license-1.html. If newer versions of this license are posted there, you may use a newer version instead, at your option. This software consists of voluntary contributions made by many individuals. For exact contribution history, see the revision history and logs, available at http://subversion.tigris.org/. perl v5.10.0 2004-12-04 native::Base(3)
All times are GMT -4. The time now is 07:05 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy