[GRASS-dev] mapset permissions: only owner should have write permissions

Glynn Clements glynn at gclements.plus.com
Wed Jul 24 07:08:35 PDT 2013


Markus Neteler wrote:

> ERROR: MAPSET PERMANENT - permission denied

This error is generated by G__gisinit() if G__mapset_permissions()
returns 0 (mapset directory exists but not owned by the current user).

> How come that it tries to write in PERMANENT? This needs to be fixed for sure.

It isn't trying to write in PERMANENT. It's trying to execute the
command (to generate the HTML) with $GISBASE/demolocation/PERMANENT as
the current mapset. If the person running g.extension isn't the owner
of $GISBASE/demolocation/PERMANENT, that will fail.

-- 
Glynn Clements <glynn at gclements.plus.com>


More information about the grass-dev mailing list