[OSGeoLive] #2085: QGIS quickstart - can't find GRASS data

OSGeoLive trac_osgeolive at osgeo.org
Wed Aug 15 05:07:24 PDT 2018


#2085: QGIS quickstart - can't find GRASS data
-------------------------------------+----------------------------
 Reporter:  bakaniko                 |       Owner:  osgeolive@…
     Type:  defect                   |      Status:  new
 Priority:  major                    |   Milestone:  OSGeoLive12.0
Component:  OSGeoLive                |  Resolution:
 Keywords:  QGIS, quickstart, GRASS  |
-------------------------------------+----------------------------

Comment (by micha):

 I believe that this problem is related to the permissions limitation
 imposed by GRASS. We've brought this up in the past:
 [https://trac.osgeo.org/osgeolive/ticket/868], and never really resolved
 the problem, in my opinion.

 The PERMANENT mapset is actually located under /usr/local/share which is
 owned by root. When you run GRASS as user1 you cannot start in that
 mapset, only the user1 mapset. But then you have read-only access to the
 data in the PERMANENT mapset. This is all by design, and works fine.

 However, when running QGIS you cannot access the GRASS data under the
 PERMANENT, not with the QGIS Browser and not the GRASS Tools plugin. The
 error that appears is:

 {{{
 Unable to make mapset element: .tmp/osgeo
 Permission denied
 }}}

 In the QGIS quickstart there is a Note: explaining:

 **Please open a terminal and execute the following: "sudo chmod -R 0755
 /usr/local/share/grass/nc_basic_spm_grass/"**

 If we are going to put that into the quickstart, then why not just have it
 done in the build script?

 The other alternative is to put some layers into the user1 mapset (instead
 of PERMANENT)  - which is read/write for user - and have the QGIS
 quickstart access only on those.
 Other layers will stay in PERMANENT for read only use (in GRASS) in
 multiuser workshop situations.

 Regards,
 Micha

-- 
Ticket URL: <https://trac.osgeo.org/osgeolive/ticket/2085#comment:2>
OSGeoLive <http://live.osgeo.org/>
self-contained bootable DVD, USB thumb drive or Virtual Machine based on Lubuntu, that allows you to try a wide variety of open source geospatial software without installing anything.


More information about the osgeolive mailing list