[GRASS-dev] [GRASS GIS] #3408: r.tileset fails on windows due to permissions error

#3408: r.tileset fails on windows due to permissions error
-------------------------+-------------------------
Reporter: spawley | Owner: grass-dev@…
     Type: defect | Status: new
Priority: normal | Milestone:
Component: Default | Version: svn-trunk
Keywords: | CPU: Unspecified
Platform: MSWindows 8 |
-------------------------+-------------------------
The GRASS module r.tileset doesn't appear to function on windows, but
works fine on linux:

r.tileset sourceproj="+proj=tmerc +lat_0=0 +lon_0=-115 +k=0.9992
+x_0=500000 +y_0=0 +no_defs +a=6378137 +rf=298.257222101
+towgs84=0.000,0.000,0.000 +to_meter=1"

Traceback (most recent call last):
   File
"C:\OSGEO4~1\apps\grass\grass-7.3.svn/scripts/m.proj.py",
line 308, in <module>
     main()
   File
"C:\OSGEO4~1\apps\grass\grass-7.3.svn/scripts/m.proj.py",
line 243, in main
     inf = file(infile)
IOError: [Errno 13] Permission denied:
'c:\\users\\cb2dd\\appdata\\local\\temp\\grass7-10432\\tmpovmbzm'
ERROR: cs2cs failed

While r.tileset calls on m.proj, the latter seems to work just fine on
windows:

m.proj -i input=D:\grassdata\alberta_utm12\PERMANENT\.tmp/unknown\13204.1
493843.98|6261734.98|0.00

The issue appears to be related to a problem with permissions to the
temporary file that is passed onto cs2cs.

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/3408&gt;
GRASS GIS <https://grass.osgeo.org>

#3408: r.tileset fails on windows due to permissions error
--------------------------+-------------------------
  Reporter: spawley | Owner: grass-dev@…
      Type: defect | Status: new
  Priority: normal | Milestone: 7.6.2
Component: Default | Version: svn-trunk
Resolution: | Keywords:
       CPU: Unspecified | Platform: MSWindows 8
--------------------------+-------------------------
Changes (by martinl):

* milestone: 7.2.4 => 7.6.2

Comment:

Confirmed.

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/3408#comment:2&gt;
GRASS GIS <https://grass.osgeo.org>

#3408: r.tileset fails on windows due to permissions error
--------------------------+---------------------------------
  Reporter: spawley | Owner: grass-dev@…
      Type: defect | Status: new
  Priority: normal | Milestone: 7.6.2
Component: Raster | Version: svn-trunk
Resolution: | Keywords: r.tileset, wingrass
       CPU: Unspecified | Platform: MSWindows 8
--------------------------+---------------------------------
Changes (by martinl):

* keywords: => r.tileset, wingrass
* component: Default => Raster

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/3408#comment:3&gt;
GRASS GIS <https://grass.osgeo.org>