You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by marc2112 <sv...@mbreslow.net> on 2006/09/25 15:11:31 UTC
permissions error for non-HEAD revisions
I'm trying to do a diff between the current revision and a previous revision
of a file. When I do this, I get an error from subversion: svn: GET of
'/repos/myrepos/!svn/bc/1661/trunk/dir1/dir2/File.java': 403 Forbidden
(http://svn.mydomain.com)
The command I used to get the diff is:
svn diff
--old=http://svn.mydomain.com/repos/myrepos/trunk/dir1/dir2/File.java@1661
--new=http://svn.mydomain.com/repos/myrepos/trunk/dir1/dir2/File.java
Checkouts, commits, updates all work fine as long as I am operating on the
most current version. I am also able to tag code using the copy command
with no issues.
Under /etc/httpd/conf.d/subversion.conf I have a virtual server defined with
a location for my repository:
<Location /repos>
DAV svn
SVNParentPath /opt/data/svn
SVNIndexXSLT "/insurrection.xsl"
# our access control policy
AuthzSVNAccessFile /etc/subversion/authentication/access
# how to authenticate a user
AuthType Basic
AuthName "Code-Host Repository"
AuthUserFile /etc/subversion/authentication/passwords
# try anonymous but require a user if needed
<LimitExcept GET PROPFIND OPTIONS REPORT>
Require valid-user
</LimitExcept>
</Location>
In /etc/subversion/authentication/access, I have:
[groups]
mgrs = <list of usernames>
developers = <list of usernames>
[myrepos:/]
* = r
@mgrs = rw
@developers = rw
--
View this message in context: http://www.nabble.com/permissions-error-for-non-HEAD-revisions-tf2332197.html#a6488449
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