[Geoserver-devel] [JIRA] (GEOS-8776) GeoServer Importer - creates locking file outside upload folder

Gnafu created an issue

GeoServer / BugGEOS-8776

GeoServer Importer - creates locking file outside upload folder

Issue Type:

BugBug

Affects Versions:

2.14-beta

Assignee:

Unassigned

Components:

Importer

Created:

07/Jun/18 12:11 PM

Priority:

MediumMedium

Reporter:

Gnafu

The importer will try to create a “.locking” file in the data source folder even if the import is a direct one (no upload has been done).

This implies GeoServer will need additional write permissions it didn’t need in the past.

To reproduce, setup a GeoTiff mosaic and set the granules directory as read-only, then try to add a granule by pointing GeoServer to the new file instead of uploading it.

{
	"import": {
		"data": {
			"file": "/full/path/to/file.tif",
			"type": "file"
		},
		"targetStore": {
			"dataStore": {
				"name": "storename"
			}
		},
		"targetWorkspace": {
			"workspace": {
				"name": "ws_name"
			}
		}
	}
}

Add Comment

Add Comment

Get Jira notifications on your phone! Download the Jira Cloud app for Android or iOS


This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100087-sha1:${build)

Atlassian logo