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 Even Rouault, 6 years ago

Cc: martinl added

Martin, interested in the GRASS plugin ?

comment:2 by martinl, 6 years ago

Owner: changed from warmerdam to martinl
Status: newassigned

comment:3 by Even Rouault, 5 years ago

Milestone: 2.1.5closed_because_of_github_migration
Resolution: wontfix
Status: assignedclosed

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.

Note: See TracTickets for help on using tickets.