[GRASS-user] MAPSET PERMANENT - permission denied

Glynn Clements glynn at gclements.plus.com
Tue Feb 26 10:36:03 EST 2008


Jachym Cepicky wrote:

> sorry,
> $GRASSDATA should be the directory, where your GRASS data are located
> $LOCATION_NAME should be name of the location, you are using  for
> current GRASS session

FWIW, the name of the GRASS variable for the database directory is
GISDBASE.

You can make the GRASS variables appear as shell variable with the
command:

	eval `g.gisenv`

After which, you can use the variables like e.g.:

	ls -l $GISDBASE/$LOCATION_NAME
or:
	ls -l $GISDBASE/$LOCATION_NAME/$MAPSET
etc.

As for the error message in the subject: you must own the mapset
directory in order to select it as the current mapset. The PERMANENT
mapset will normally be owned by whoever originally created the
location.

You shouldn't use the PERMANENT mapset as the current mapset for daily
use; create a new mapset instead. PERMANENT should be reserved for
important data which should be readily available regardless of the
current mapset.

Until you get to the point of needing several mapsets in one location,
you probably shouldn't have anything in the PERMANENT mapset except
for the standard files (DEFAULT_WIND, PROJ_INFO, PROJ_UNITS).

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


More information about the grass-user mailing list