Opened 16 years ago
Closed 16 years ago
#3107 closed defect (fixed)
SlippyMapTileViewer - permission problem with temporary directories
| Reported by: | dl8dtl | Owned by: | jpstotz |
|---|---|---|---|
| Priority: | major | Milestone: | |
| 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 by , 16 years ago
| Summary: | permission problem with temporary directories → SlippyMapTileViewer - permission problem with temporary directories |
|---|
comment:2 by , 16 years ago
| Owner: | changed from to |
|---|
comment:3 by , 16 years ago
| Resolution: | → fixed |
|---|---|
| Status: | new → 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$



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