Modify

Opened 15 years ago

Closed 15 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 stoecker, 15 years ago

Summary: permission problem with temporary directoriesSlippyMapTileViewer - permission problem with temporary directories

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

comment:2 by jpstotz, 15 years ago

Owner: changed from team to jpstotz

comment:3 by jpstotz, 15 years ago

Resolution: fixed
Status: newclosed

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$

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain jpstotz.
as The resolution will be set.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.