[GRASS-dev] [GRASS GIS] #3635: Suspicious use and cleanup of the mapset tempoary directory

GRASS GIS trac at osgeo.org
Sat Sep 15 19:08:01 PDT 2018


#3635: Suspicious use and cleanup of the mapset tempoary directory
-------------------------+-------------------------------------------------
  Reporter:  wenzeslaus  |      Owner:  wenzeslaus
      Type:  defect      |     Status:  new
  Priority:  normal      |  Milestone:  7.8.0
 Component:  Startup     |    Version:  svn-trunk
Resolution:              |   Keywords:  init grass.py clean_temp .tmp temp
       CPU:              |  g.mapset wxGUI rendering
  Unspecified            |   Platform:  All
-------------------------+-------------------------------------------------

Comment (by wenzeslaus):

 In [changeset:"73336" 73336]:
 {{{
 #!CommitTicketReference repository="" revision="73336"
 init: do not remove wrong mapset .tmp, rely on clean_temp (see #3635)


 The previous behavior was deleting whole mapset temporary directory
 of a mapset set at the startup. When started in mapset A, switched to B,
 exited, whole .tmp of A was removed, B was cleaned by clean_temp.
 Now cleaning of A is done during switching (as before) but it is not
 touched again, so no running processed in a (new) session in A are
 in denger of loosing temporary files. The mapset active at exit is
 cleaning using clean_temp as before, but only by that.
 }}}

-- 
Ticket URL: <https://trac.osgeo.org/grass/ticket/3635#comment:3>
GRASS GIS <https://grass.osgeo.org>



More information about the grass-dev mailing list