I haven't yet been able to set up Subversion to work correctly with CM
users. I've tried fiddling with various bits, but either my attempts
to do an authenticated checkin fail, or checkins are allowed for
anonymous users.
Here is how I have things set up:
ClueMapper was installed as root, and the CM directories are /usr/var/
cluemapper and /usr/etc/cluemapper.
My Apache httpd.conf file:
<VirtualHost *:80>
ServerName
projects.aps.edu
# Subversion
<Location "/svn">
Dav On
DAV svn
AuthType Basic
AuthUserFile /usr/etc/cluemapper/cluemapper.passwd
AuthGroupFile /usr/etc/cluemapper/svnauthzfile.conf
SVNParentPath /usr/var/cluemapper/svnrepos/
AuthName "Cluemapper Subversion Repository"
Satisfy Any
Require valid-user
</Location>
#Cluemapper
RewriteEngine On
RewriteCond %{REQUEST_URI} !^/svn/.*$
RewriteRule ^/(.*)$
http://127.0.0.1:8080/$1 [L,P]
</VirtualHost>
I should note that currently
If I chown the /usr/var/cluemapper/svnrepos subdirectories to www-
data:www-data, anonymous check-ins succeed (even if I try to check in
with --username and --password, the checkin is still anonymous). Note
that anonymous reads and writes are not enabled in CM for these
projects.
If I chown the repositories to root:root, then checkins fail with the
following error (even when I supply a username and password that have
the correct permissions in CM):
svn: Commit failed (details follow):
svn: Can't open file '/usr/var/cluemapper/svnrepos/departments/db/txn-
current-lock': Permission denied
Other than the ownership changes I already mentioned, I also did a
'chmod -R g+ws' to /etc/var/svnrepos, as suggested by
http://code.autonomo.us/wiki?name=ClueMapper
Can anyone tell me what I need to do to get subversion to actually
*use* the CM users and permissions?
--
You received this message because you are subscribed to the Google Groups "ClueMapper User" group.
To post to this group, send email to
cluemap...@googlegroups.com.
To unsubscribe from this group, send email to
cluemapper-us...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/cluemapper-user?hl=en.