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

Markus Neteler neteler at osgeo.org
Wed Jul 24 06:06:23 PDT 2013


Hi,

when putting the PERMANENT permissions the GRASS way:
GRASS 7.0.svn (latlong):~ > ls -la /grassdata/latlong | grep PERMA
drwxr-xr-x 14 neteler  gis 4096 Mar 12 11:43 PERMANENT

in order to avoid that other group "gis" member be able to delete
PERMANENT through command line, a problem in g.extension appears:

GRASS 7.0.svn (latlong):~ > g.extension v.surf.mass
D1/1: grass.script.core.start_command(): g.version -rge
D1/1: grass.script.core.start_command(): g.message message=Fetching
<v.surf.mass> from GRASS-Addons SVN (be patient)...
Fetching <v.surf.mass> from GRASS-Addons SVN (be patient)...
D1/1: grass.script.core.start_command(): g.message message=Compiling...
Compiling...
ERROR: MAPSET PERMANENT - permission denied
make: *** [v.surf.mass.tmp.html] Error 1
D1/1: grass.script.core.start_command(): g.message -e
message=Compilation failed, sorry. Please check above error messages.
ERROR: Compilation failed, sorry. Please check above error messages.


GRASS 7.0.svn (latlong):~ > g.gisenv
MAPSET=matteo
GISDBASE=/grassdata
LOCATION_NAME=latlong
GUI=text
DEBUG=1

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

Markus


More information about the grass-dev mailing list