[Bug 1250] New: - Application doesn't like "Access Denied" from CreateDirectory

wine-bugs at winehq.com wine-bugs at winehq.com
Sun Feb 2 01:13:26 CST 2003


http://bugs.winehq.com/show_bug.cgi?id=1250

           Summary: Application doesn't like "Access Denied" from
                    CreateDirectory
           Product: Wine
           Version: CVS
          Platform: PC
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: wine-files
        AssignedTo: wine-bugs at winehq.com
        ReportedBy: keldon at ont.com


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.

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://bugs.winehq.com/show_bug.cgi?id=1250>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.



More information about the wine-bugs mailing list