http://bugs.winehq.com/show_bug.cgi?id=1250
------- Additional Comments From winebug@flonet.net 2003-23-06 11:24 ------- Bug comments restored from Gmane.org:
My config file has this (just like the sample config file):
[Drive E] "Path" = "/tmp"
[wine] "Temp" = "e:\"
But I have an app (Garmin's Mapsource) that tries to do this:
0807e1a8:Call kernel32.GetTempPathA(00000005,41338e00) ret=00737c67 0807e1a8:Ret kernel32.GetTempPathA() retval=00000003 ret=00737c67 0807e1a8:Call kernel32.CreateDirectoryA(41338e00 "E:\",00000000) ret=00737d2e 0807e1a8:Ret kernel32.CreateDirectoryA() retval=00000000 ret=00737d2e 0807e1a8:Call kernel32.GetLastError() ret=00737d3e 0807e1a8:Ret kernel32.GetLastError() retval=00000005 ret=00737d3e
It then freaks out about the "Access Denied" error it got and dies. I can work around this by doing either:
a) Changing Wine so that "Already Exists" is returned instead. The app ignores this error, apparently. b) Changing my temp path in the config file to c:\windows\temp (something not at the root of a "drive")
I suspect this is a bug in the app, not wine. But still, maybe the default temp path shouldn't be a root directory. There may be other apps that don't like it either.