[OSGeoLive] MapCache Permissions

Angelos Tzotsos gcpp.kalxas at gmail.com
Wed Jul 24 13:16:50 PDT 2019


Hi Seth,

I would recommend to move the mapcache folder to /usr/local/share/mapcache

Best,
Angelos

On 7/24/19 6:04 PM, Seth G wrote:
> Hi,
>
> I'm currently testing the latest beta from http://aiolos.survey.ntua.gr/gisvm/dev/osgeolive-nightly-build163-amd64-38dc97a-master.iso with MapCache.
> There is a permssions issue causing tiles to return "failed to create directory /home/user/mapcache/tilecache..Permission denied"
>
> The https://github.com/OSGeo/OSGeoLive/blob/master/bin/install_mapcache.sh#L44 script runs the following:
>
> # make a folder for the tilecache abd set the owner to be www-data
> MAPCACHE_DIR=/home/user/mapcache
> mkdir -p "$MAPCACHE_DIR/tilecache"
> chown -R www-data:www-data "$MAPCACHE_DIR/tilecache"
>
> On the latest release the owner of /home/user/mapcache/tilecache is still "user". If I run these manually (with sudo) on the latest release everything works correctly.
> The Zoo installer also has a similar approach:
>
> https://github.com/OSGeo/OSGeoLive/blob/master/bin/install_zoo-project.sh#L77
>
> It refers to ticket https://trac.osgeo.org/osgeolive/ticket/1850 which has discussions of folder locations for a tile cache.
>
> Should I update the install/configs to point to /var/mapcache/tilecache to keep the permssions?
> I presume ownership of the folder is changed in a later script, or is not advised.
>
> Seth
>
>
> --
> web:http://geographika.co.uk
> twitter: @geographika
> _______________________________________________
> osgeolive mailing list
> osgeolive at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/osgeolive


-- 
Angelos Tzotsos, PhD
Charter Member
Open Source Geospatial Foundation
http://users.ntua.gr/tzotsos

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/osgeolive/attachments/20190724/df5b5908/attachment.html>


More information about the osgeolive mailing list