Ticket #868 (new defect)
QGIS: Permissions on GRASS LOCATIONS
|Reported by:||micha||Owned by:||live-demo@…|
|Component:||LiveDVD||Keywords:||QGIS GRASS data permissions, 7.0|
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
Cannot run module
info= ... permission denied
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.