[GRASS-dev] [GRASS GIS] #560: WinGRASS not deleting temp ppm files from map display

GRASS GIS trac at osgeo.org
Sat May 18 04:42:02 PDT 2013


#560: WinGRASS not deleting temp ppm files from map display
----------------------------------------+-----------------------------------
 Reporter:  isaacullah                  |       Owner:  grass-dev@…              
     Type:  defect                      |      Status:  new                      
 Priority:  critical                    |   Milestone:  6.4.3                    
Component:  Display                     |     Version:  6.4.0 RCs                
 Keywords:  v.digit ppm temp, wingrass  |    Platform:  MSWindows XP             
      Cpu:  x86-32                      |  
----------------------------------------+-----------------------------------

Comment(by hamish):

 the empty file versions may be related to #943, core/render.py creates
 some temp files without extension, then creates some more in /tmp/ with
 e.g. .ppm extension. Note that way cancels the benefit of using
 tempfile.mkstemp(), since the temp file created is no longer created in a
 secure way, and /tmp is a+w. (at least $MAPSET/.tmp/ is u+w only)

 after the empty temp files, there are still .ppm files not being removed
 too.


 Hamish

-- 
Ticket URL: <https://trac.osgeo.org/grass/ticket/560#comment:19>
GRASS GIS <http://grass.osgeo.org>



More information about the grass-dev mailing list