[Live-demo] [OSGeo] #868: Permissions on GRASS LOCATIONS

OSGeo trac_osgeo at osgeo.org
Sat Feb 25 05:04:42 PST 2012


#868: Permissions on GRASS LOCATIONS
---------------------+------------------------------------------------------
 Reporter:  micha    |       Owner:  live-demo@…                
     Type:  defect   |      Status:  new                        
 Priority:  major    |   Milestone:                             
Component:  LiveDVD  |    Keywords:  QGIS GRASS data permissions
---------------------+------------------------------------------------------
 Two GRASS datasets are included: spearfish60 and nc_spm_08. In each the
 PERMANENT mapset  and landsat mapset are not writeable by 'user'.
 WHile this is OK in GRASS itself (PERMANENT mapset is not necessarily
 writeable by everyone), It is causing a crash of QGIS with the error:

 Cannot get projection[[BR]]
 Cannot run module[[BR]]
 Command:...qgis.g.info[[BR]]
 info= ... permission denied[[BR]]


 The three offending directories are each symlinks to
 /usr/local/share/grass/.... These directories have permissions i.e.:

 drwxr-xr-x 4 root users 4096 2012-02-23 00:49 spearfish60

 A workaround might be to do in install_grass.sh:

 {{{
 chown -R $USER_NAME.$USER_NAME "/usr/local/share/grass/nc_spm_08"
 chown -R $USER_NAME.$USER_NAME "/usr/local/share/grass/spearfish60"
 }}}


 I suppose the problem is in the QGIS GRASS plugin. The above is not ideal
 but it avoids the error and crash when loading layers from the PERMANENT
 mapset.

-- 
Ticket URL: <http://trac.osgeo.org/osgeo/ticket/868>
OSGeo <http://www.osgeo.org/>
OSGeo committee and general foundation issue tracker.


More information about the Osgeolive mailing list