[Live-demo] Permissions problems with GeoServer

Angelos Tzotsos gcpp.kalxas at gmail.com
Tue Dec 6 02:02:56 PST 2016


Hi Ben,

I saw the same issue in nightly build5.
I am wondering why geoserver has this permission issue, previous 
versions used to work fine with this setup.

Best,
Angelos

On 12/06/2016 05:10 AM, Ben Caradoc-Davies wrote:
> Angelos,
>
> even with my most recent fixes 
> <https://github.com/bencaradocdavies/OSGeoLive/tree/upgrade-geoserver>, 
> GeoServer on a nightly build will still not start.
>
> Looks to me like permissions problems (files and directories in the 
> data directory whcih are owned by root). Likely culprit is 
> install_geonode.sh, which starts GeoServer as root "to update layers 
> in the geonode db", causing the creation of files and directories 
> owned by root:root. The solution (in install_geonode.sh) might be 
> something like:
>
> su -c "$GEOSERVER_PATH/bin/startup.sh" - user
>
> but it will take a little fiddling to get this working with 
> redirection and running in the background. I will let you know when I 
> have a fix.
>
> Kind regards,
>


-- 
Angelos Tzotsos, PhD
OSGeo Charter Member
http://users.ntua.gr/tzotsos



More information about the Live-demo mailing list