Modify

Opened 4 years ago

Closed 4 years ago

#3107 closed defect (fixed)

SlippyMapTileViewer - permission problem with temporary directories

Reported by: osm@… Owned by: jpstotz
Priority: major Component: Core
Version: Keywords:
Cc:

Description

JOSM apparently creates temporary directories where it wants to store
private data. These directories have a system-wide name, so the first
user within a system to run JOSM creates them. Subsequently, when a
different user runs JOSM, it fails to use these directories:

Failed to save ETag: /var/tmp/JMapViewerTiles/Mapnik/13_4329_2539.etag (Permission denied)
Failed to save ETag: /var/tmp/JMapViewerTiles/Mapnik/13_4329_2538.etag (Permission denied)
Failed to save ETag: /var/tmp/JMapViewerTiles/Mapnik/13_4330_2539.etag (Permission denied)
Failed to save ETag: /var/tmp/JMapViewerTiles/Mapnik/13_4330_2538.etag (Permission denied)
Failed to save tile content: /var/tmp/JMapViewerTiles/Mapnik/13_4329_2538.png (Permission denied)
Failed to save tile content: /var/tmp/JMapViewerTiles/Mapnik/13_4329_2539.png (Permission denied)
Failed to save tile content: /var/tmp/JMapViewerTiles/Mapnik/13_4330_2538.png (Permission denied)
Failed to save tile content: /var/tmp/JMapViewerTiles/Mapnik/13_4330_2539.png (Permission denied)

Attachments (0)

Change History (3)

comment:1 Changed 4 years ago by stoecker

  • Summary changed from permission problem with temporary directories to SlippyMapTileViewer - permission problem with temporary directories

This is a problem of the SlippyMapChooser tile viewer code which is not directly part of JOSM.

comment:2 Changed 4 years ago by jpstotz

  • Owner changed from team to jpstotz

comment:3 Changed 4 years ago by jpstotz

  • Resolution set to fixed
  • Status changed from new to closed

I changed the default path where JMapViewer places it's tile disk cache: added user name.
Hence on Linux the default temp path changes to

/tmp/JMapViewerTiles_$username$

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as closed .
as The resolution will be set. Next status will be 'closed'.
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.