http://bugs.winehq.org/show_bug.cgi?id=26288
Summary: Cain and Abel: No permission to open .tmp file Product: Wine Version: 1.3.14 Platform: x86 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: lukasz.wojnilowicz@gmail.com
Created an attachment (id=33515) --> (http://bugs.winehq.org/attachment.cgi?id=33515) Error message
Steps to reproduce: 1) remove ~/.wine 2) wine ca_setup.exe
Behaviour: See attachment.
Expected behaviour: Setup should proceed without error.
Terminal output: Nothing
http://bugs.winehq.org/show_bug.cgi?id=26288
NSLW lukasz.wojnilowicz@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download URL| |http://www.oxid.it/download | |s/ca_setup.exe
http://bugs.winehq.org/show_bug.cgi?id=26288
André H. nerv@dawncrow.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW CC| |nerv@dawncrow.de Ever Confirmed|0 |1
--- Comment #1 from André H. nerv@dawncrow.de 2011-03-12 09:54:23 CST --- confirming
some interesting traces/relays: --snip-- 002c:Call KERNEL32.GetTempFileNameA(0032e75c "C:\users\dawncrow\Temp\",1001c358 "GLF",00000000,0032f378) ret=1000374a 002c:Ret KERNEL32.GetTempFileNameA() retval=000088fa ret=1000374a --snip-- 002c:Call KERNEL32.GetFileAttributesA(0032e610 "C:\users\dawncrow\Temp\GLF88fa.tmp") ret=10011cd8 002c:Ret KERNEL32.GetFileAttributesA() retval=00000020 ret=10011cd8 002c:Call KERNEL32.CreateDirectoryA(0032e610 "C:",00000000) ret=1000b3ca 002c:Ret KERNEL32.CreateDirectoryA() retval=00000000 ret=1000b3ca 002c:Call KERNEL32.CreateDirectoryA(0032e610 "C:\users",00000000) ret=1000b3ca 002c:Ret KERNEL32.CreateDirectoryA() retval=00000000 ret=1000b3ca 002c:Call KERNEL32.CreateDirectoryA(0032e610 "C:\users\dawncrow",00000000) ret=1000b3ca 002c:Ret KERNEL32.CreateDirectoryA() retval=00000000 ret=1000b3ca 002c:Call KERNEL32.CreateDirectoryA(0032e610 "C:\users\dawncrow\Temp",00000000) ret=1000b3ca 002c:Ret KERNEL32.CreateDirectoryA() retval=00000000 ret=1000b3ca --snip-- 002c:Call advapi32.GetFileSecurityA(0032e610 "C:\users\dawncrow\Temp\GLF88fa.tmp",00000007,00921740,00007800,0032dff8) ret=1000621c 002c:Ret advapi32.GetFileSecurityA() retval=00000001 ret=1000621c 002c:Call advapi32.ImpersonateSelf(00000001) ret=1000622c 002c:Ret advapi32.ImpersonateSelf() retval=00000001 ret=1000622c 002c:Call KERNEL32.GetCurrentThread() ret=10006242 002c:Ret KERNEL32.GetCurrentThread() retval=fffffffe ret=10006242 002c:Call advapi32.OpenThreadToken(fffffffe,00000008,00000001,0032e734) ret=10006249 002c:Ret advapi32.OpenThreadToken() retval=00000001 ret=10006249 002c:Call advapi32.AccessCheck(00921740,00000054,000001ff,0032d3ec,0032e1fc,0032e40c,0032e738,0032e1f8) ret=100062a1 002c:Ret advapi32.AccessCheck() retval=00000001 ret=100062a1 --snip--
http://bugs.winehq.org/show_bug.cgi?id=26288
--- Comment #2 from André H. nerv@dawncrow.de 2011-03-12 09:55:58 CST --- Created an attachment (id=33604) --> (http://bugs.winehq.org/attachment.cgi?id=33604) dirty hack
here's a hack to make it install, but even with my wpcap proxy dll Cain.exe crashes with some font problems
http://bugs.winehq.org/show_bug.cgi?id=26288
--- Comment #3 from André H. nerv@dawncrow.de 2011-03-13 08:21:05 CDT --- The Installer wants FILE_ALL_ACCESS but doesn't get it for the temp folder for some reasons...
http://bugs.winehq.org/show_bug.cgi?id=26288
André H. nerv@dawncrow.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Blocks| |26402
http://bugs.winehq.org/show_bug.cgi?id=26288
--- Comment #4 from Dmitry Timoshkov dmitry@codeweavers.com 2011-03-14 01:26:24 CDT --- Duplicate of the bug 19434?
http://bugs.winehq.org/show_bug.cgi?id=26288
--- Comment #5 from André H. nerv@dawncrow.de 2011-03-14 13:02:58 CDT --- (In reply to comment #4)
Duplicate of the bug 19434?
I would say no, because in bug 19434 the app only wants 0x10(FILE_WRITE_EA) and it's not about the temp directory.
http://bugs.winehq.org/show_bug.cgi?id=26288
--- Comment #6 from André H. nerv@dawncrow.de 2011-03-14 13:06:24 CDT --- (In reply to comment #5)
(In reply to comment #4)
Duplicate of the bug 19434?
I would say no, because in bug 19434 the app only wants 0x10(FILE_WRITE_EA) and it's not about the temp directory.
ah wrong: it wants permission 0x120116, but still i'd say it's a different thing.
http://bugs.winehq.org/show_bug.cgi?id=26288
--- Comment #7 from Dmitry Timoshkov dmitry@codeweavers.com 2011-03-15 06:12:34 CDT --- The following patches make the installer happy:
http://www.winehq.org/pipermail/wine-patches/2011-March/099992.html http://www.winehq.org/pipermail/wine-patches/2011-March/099993.html http://www.winehq.org/pipermail/wine-patches/2011-March/099994.html http://www.winehq.org/pipermail/wine-patches/2011-March/099995.html
http://bugs.winehq.org/show_bug.cgi?id=26288
--- Comment #8 from Austin English austinenglish@gmail.com 2011-03-16 16:26:01 CDT --- (In reply to comment #7)
The following patches make the installer happy:
http://www.winehq.org/pipermail/wine-patches/2011-March/099992.html http://www.winehq.org/pipermail/wine-patches/2011-March/099993.html http://www.winehq.org/pipermail/wine-patches/2011-March/099994.html http://www.winehq.org/pipermail/wine-patches/2011-March/099995.html
halfway there: http://source.winehq.org/git/wine.git/commitdiff/efeea9cf107ff85382d162f3bb3... http://source.winehq.org/git/wine.git/commitdiff/da077956e1f0f5adb457ff47f0c...
http://bugs.winehq.org/show_bug.cgi?id=26288
--- Comment #9 from Dmitry Timoshkov dmitry@codeweavers.com 2011-03-24 04:01:25 CDT --- Here is another patch with a different approach which fixes the tests and the installer: http://www.winehq.org/pipermail/wine-patches/2011-March/100233.html
http://bugs.winehq.org/show_bug.cgi?id=26288
Dmitry Timoshkov dmitry@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED
--- Comment #10 from Dmitry Timoshkov dmitry@codeweavers.com 2011-03-28 22:06:26 CDT --- The patch has been committed: http://source.winehq.org/git/wine.git/commitdiff/1b5602e59cbd72bceb173e2dba4...
http://bugs.winehq.org/show_bug.cgi?id=26288
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #11 from Alexandre Julliard julliard@winehq.org 2011-04-01 12:39:54 CDT --- Closing bugs fixed in 1.3.17.
https://bugs.winehq.org/show_bug.cgi?id=26288
André H. nerv@dawncrow.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |1b5602e59cbd72bceb173e2dba4 | |d214f8ef97ac9
https://bugs.winehq.org/show_bug.cgi?id=26288
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |focht@gmx.net Component|-unknown |wineserver