Opened 6 years ago
Closed 5 years ago
#7166 closed defect (wontfix)
GRASS plugin OGR access: Don`t try to write data to mapset
Reported by: | sbl | Owned by: | martinl |
---|---|---|---|
Priority: | normal | Milestone: | closed_because_of_github_migration |
Component: | OGR_SF | Version: | unspecified |
Severity: | normal | Keywords: | OGR, GRASS, GRASS-plugin |
Cc: | martinl |
Description
GDALs GRASS plugin cannot read vector data from mapsets the user neither owns nor has write access to, because it tries to write temporary data to the respective mapset. However, read access should be honored by the plugin, esp. since the plugin/format is read-only.
Maybe it is possible to write temporary data to system TEMP dir?
Example:
ogrinfo -ro /data/grass/location/mapset/vector/vectormap/head 1 Warning 1: GRASS warning: GISBASE environment variable was not set, using: /usr/lib/grass72 Warning 1: GRASS fatal error: Unable to make mapset element .tmp/grassserver (/data/grass/location/mapset/.tmp): Permission denied
Affects also ogr2ogr.
gdalinfo however works...
Change History (3)
comment:1 by , 6 years ago
Cc: | added |
---|
comment:2 by , 5 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
comment:3 by , 5 years ago
Milestone: | 2.1.5 → closed_because_of_github_migration |
---|---|
Resolution: | → wontfix |
Status: | assigned → closed |
This ticket has been automatically closed because Trac is no longer used for GDAL bug tracking, since the project has migrated to GitHub. If you believe this ticket is still valid, you may file it to https://github.com/OSGeo/gdal/issues if it is not already reported there.
Martin, interested in the GRASS plugin ?