[GRASS-user] MAPSET PERMANENT - permission denied

Kunal Malik kunal.malik81 at gmail.com
Wed Feb 27 06:36:52 EST 2008


Hi jachym,
do i need subversion tool for downloading the source code .???
OR
i have taken grass-6.2.3.tar.gz. is it will do the same that u mentioned in
the previous mail?
But it does not have grass_trunk directory ..but it has the raster dir in
it..
could i do the same things on grass-6.2.3 and adding r.example to raster
directory,




On 2/27/08, Jachym Cepicky <jachym.cepicky at gmail.com> wrote:
>
> so,
> since I do not understand, what you are doing, I'll try to describe the
> "development procedure" from the beginning:
>
> 1) download the source code
> 2) go to grass_trunk directory
> 3) download r.example and unpack to grass_trunk/raster directory
> 4) ./configure ... ; make; sudo make install
> 5) go to grass_trunk/raster/r.example directory
> 6) You'll have to adjust MODULE_TOPDIR variable in Makefile to "../.."
> 7) run make
> 8) go to grass_trunk
> 9) run sudo make install
>
> 10) start grass
> 11) r.example should be there (r.example --help is your friend)
>
> BTW: Maybe we should move [rv].example from intevation server to osgeo
> as well ?
>
> Where to store it? grass_source/grass-examples ?
>
> Jachym
>
> Kunal Malik píše v St 27. 02. 2008 v 10:51 +0530:
>
> > 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
>
> --
>
> Jachym Cepicky
> e-mail: jachym.cepicky gmail com
> URL: http://les-ejk.cz
> GPG: http://www.les-ejk.cz/pgp/jachym_cepicky-gpg.pub
>
>


-- 
Thanks & Regards

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


More information about the grass-user mailing list