[GRASS-user] MAPSET PERMANENT - permission denied

Kunal Malik kunal.malik81 at gmail.com
Wed Feb 27 00:21:31 EST 2008


Hi!!
I have set the Enviroment Variable by eval 'g.gisenv'

when i make echo $LOCATION_NAME it gives Map1
                     echo $MAPSET GIVES kunal
                     echo $GISDBASE =/usr/local/grassdata
i have following queries

1.
 i have copied the r.example dir into the /usr/local/grass-6.2.3/raster/ and
add the r.example in the Make file present in this directory...when i make
the directory it still giving the message
ERROR: MAPSET PERMANENT - permission denied
why is it so when i am using kunal as a mapset.

2.
i want to see the output of r.example which i added ..
i will run  make install after make..my grass is also running ..where to go
to check the output.

Please suggest the way to handle the two problems.
Thanks




On 2/27/08, Kunal Malik <kunal.malik81 at gmail.com> wrote:
>
> Thanks Glynn for your support.
>
>
> On 2/26/08, Glynn Clements <glynn at gclements.plus.com> wrote:
> >
> >
> > 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>
> >
>
>
>
> --
> Thanks & Regards
>
> Kunal Malik
> 09871147561
>



-- 
Thanks & Regards

Kunal Malik
09871147561
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/grass-user/attachments/20080227/5124e7f4/attachment.html


More information about the grass-user mailing list