[SAC] [OSGeo] #2229: Switch geotiff SVN repository to read-only mode
OSGeo
trac_osgeo at osgeo.org
Tue Jan 8 14:00:11 PST 2019
#2229: Switch geotiff SVN repository to read-only mode
---------------------------+-----------------------
Reporter: rouault | Owner: sac@…
Type: task | Status: reopened
Priority: normal | Milestone:
Component: Systems Admin | Resolution:
Keywords: |
---------------------------+-----------------------
Comment (by robe):
Hopefully my last change did the trick.
I ended up copying the pattern of the grass/ postgis / other sites
Following this:
https://wiki.osgeo.org/wiki/Subversion#Authz_Rules
Basically created a authz.tmpl file in /var/www/svn/repos/metacrs with
these contents:
{{{
[groups]
committers = @@metacrs@@
[/]
* = r
@committers = rw
[/geotiff]
* = r
}}}
Changed the /etc/apache2/includes/subversion/metacrs.conf
I remarked out the LDAP stuff except for user listing
{{{
<Location /metacrs>
DAV svn
SVNPath /var/www/svn/repos/metacrs
AuthzSVNAccessFile /var/www/svn/repos/metacrs/authz
#<LimitExcept GET PROPFIND OPTIONS REPORT>
Include includes/ldap_auth_url.inc
# Require ldap-group cn=metacrs,ou=svn,dc=osgeo,dc=org
#</LimitExcept>
Satisfy Any
Require valid-user
</Location>
}}}
When to this page - https://www.osgeo.org/cgi-
bin/auth/ldap_group.py?group=postgis
and did a pointless remove and readd.
That triggers all the authz files to be recreated based on their
authz.tmpl file and I confirmed I now had a authz file in root of metacrs
folder
Then did a
{{{
service apache2 reload
}}}
--
Ticket URL: <https://trac.osgeo.org/osgeo/ticket/2229#comment:3>
OSGeo <https://osgeo.org/>
OSGeo committee and general foundation issue tracker.
More information about the Sac
mailing list