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

access file problem

From: Jack Huang <Jack.Huang_at_mascorp.com>
Date: 2004-03-12 20:27:24 CET

Hi all,

I am having problem with access control to my repository. In my httpd.conf, I have:

<Location /MyRepos>
   DAV svn
   SVNPath /home/svn/MyRepos
   AuthType Basic
   AuthName "Subversion repository"
   AuthUserFile /etc/svn-auth-file
   Require valid-user
   AuthzSvnAccessFile /etc/svn-access-file
</Location>

I have no entry for <Location /> or SVNParentPath. /home/svn is an account I created for the purpose of managing svn repositories.

At first for svn-access-file I have:

[/]
* = rw
[/MyRepos]
jack = rw

So far, so good. I was able to check out files under MyRepos. But when I remove permission from [/MyRepos] with:

[/]
* = rw
[/MyRepos]
jack =

I was still able to check out files from MyRepos. It appears that the first entry has overrode the second entry.

If I have the access file with

[/MyRepos]
jack = rw

entry ONLY, I cannot check out at all! I know that password entry for jack has been properly set up, so that's not the problem. I have read Timo Falk's access rights thread, and if he has his set up working, I am probably missing something. This problem occures whether or not I restart Apache after changing svn-access-file (which is probably not necessary)

Thanks

Disclaimer: The information contained in this transmission, including any attachments, may contain confidential information of Matsushita Avionics Systems Corporation. This transmission is intended only for the use of the addressee(s) listed above. Unauthorized review, dissemination or other use of the information contained in this transmission is strictly prohibited. If you have received this transmission in error or have reason to believe you are not authorized to receive it, please notify the sender by return email and promptly delete the transmission

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Mar 15 17:44:33 2004

This is an archived mail posted to the Subversion Users mailing list.