https://bugs.winehq.org/show_bug.cgi?id=46530
--- Comment #14 from Artem S. Tashkinov aros@gmx.com --- (In reply to Fabian Maurer from comment #13)
I've sent you the entire +all log and unless I'm misreading it, Wine does something wrong here as it tries to create this very file when you're entering it.
Wine tries to crate the file? Where'd you get that information from?
0009:Call KERNEL32.CreateFileW(0055fa56 L"Z:\tmp\test\empty.rar",80000000,00000001,00000000,00000003,08000000,00000000) ret=0046bcf0 0009:Ret KERNEL32.CreateFileW() retval=0000007c ret=0046bcf0 0009:Call KERNEL32.CreateFileW(0031bb00 L"Z:\tmp\test\empty.rar",c0000000,00000001,00000000,00000003,08000000,00000000) ret=0046bcf0 0009:Ret KERNEL32.CreateFileW() retval=ffffffff ret=0046bcf0
Yep, that was it.
For some reason the application asks for (GENERIC_READ | GENERIC_WRITE) in the second call, and this obviously fails. Don't ask me why it does that though, as it doesn't happen for me.
Just to make sure, you did run inside a clean WINEPREFIX with a fresh install of WinRAR?
I've just retested this in a new wine prefix and I can no longer reproduce it which leaves me completely befuddled. Are you OK if I privately send you my ~/.wine directory to figure out what's going on or we just close this bug report as invalid?