GeoServer Importer - creates locking file outside upload folder

Description

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.

Environment

None

Assignee

Alessio Fabiani

Reporter

Gnafu

Triage

None

Fix versions

None

Affects versions

Components

Priority

Medium
Configure