http://bugs.winehq.org/show_bug.cgi?id=19581
Summary: Visual Studio 2005: "cl : Command line error D8022 : cannot open 'foo.rsp' " Product: Wine Version: 1.1.26 Platform: PC OS/Version: Linux Status: NEW Keywords: download Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: dank@kegel.com
Install Visual Studio 2005 trial Try to create new project, notice the dialog doesn't work usably winetricks ie6 Create new project again using existing .c file Try to compile Get error cl : Command line error D8022 : cannot open 'foo.rsp' ls -l foo.rsp shows it was created with unix permissions 000!
chmod doesn't help, the next build uses a new random foo filename.
http://bugs.winehq.org/show_bug.cgi?id=19581
Dan Kegel dank@kegel.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Visual Studio 2005: "cl : |Visual Studio 2005: "cl : |Command line error D8022 : |Command line error D8022 : |cannot open 'foo.rsp' " |cannot open 'foo.rsp' "; | |foo.rsp was created with | |FILE_ATTRIBUTE_TEMPORARY
--- Comment #1 from Dan Kegel dank@kegel.com 2009-08-05 00:08:20 --- WINEDEBUG=+file shows
trace:file:CreateFileW L"c:\sertest\Debug\RSP0000013754.rsp" GENERIC_WRITE creation 2 attributes 0x100
0x100 is FILE_ATTRIBUTE_TEMPORARY, which wine doesn't seem to have any test or implementation for yet.
http://bugs.winehq.org/show_bug.cgi?id=19581
--- Comment #2 from Dan Kegel dank@kegel.com 2009-08-05 00:29:49 --- I tried putting this in CreateFileW, as suggested long ago by http://www.winehq.org/pipermail/wine-patches/2004-February/009620.html but it didn't seem to help:
+ if (attributes & FILE_ATTRIBUTE_TEMPORARY) { + TRACE("Clearing FILE_ATTRIBUTE_TEMPORARY\n"); + attributes &= ~FILE_ATTRIBUTE_TEMPORARY; + if (!(attributes & FILE_ATTRIBUTE_NORMAL)) { + TRACE("Setting FILE_ATTRIBUTE_NORMAL\n"); + attributes |= FILE_ATTRIBUTE_NORMAL; + } + } +
http://bugs.winehq.org/show_bug.cgi?id=19581
--- Comment #3 from Dan Kegel dank@kegel.com 2009-08-07 23:54:00 --- Tried reproducing from the commandline. After having created a project in c:\sertest, I did
$ cd ~/".wine/drive_c/Program Files/Microsoft Visual Studio 8/Common7/IDE" $ wine devenv 'c:\sertest\sertest.sln' /build Debug /project sertest.vcproj
This failed in the same way (though you have to look in Debug/BuildLog.html to see the error messages), and it leaves a shorter log than running the GUI.
http://bugs.winehq.org/show_bug.cgi?id=19581
--- Comment #4 from Dan Kegel dank@kegel.com 2009-08-08 00:07:05 --- Created an attachment (id=22895) --> (http://bugs.winehq.org/attachment.cgi?id=22895) +advapi,+relay,+process,+file,+ntdll of creation of the .rsp file
Looks like an security api problem? Attaching a log that shows some of the ACL futzing that happens as the file is being opened.
http://bugs.winehq.org/show_bug.cgi?id=19581
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |focht@gmx.net
--- Comment #5 from Anastasius Focht focht@gmx.net 2009-08-08 02:54:58 --- Hello,
the problem is known, though I buried the explanation within another bug: http://bugs.winehq.org/show_bug.cgi?id=17096#c2
Regards
http://bugs.winehq.org/show_bug.cgi?id=19581
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |DUPLICATE
--- Comment #6 from Alexandre Julliard julliard@winehq.org 2009-10-06 09:30:30 --- Duplicate.
*** This bug has been marked as a duplicate of bug 17096 ***
http://bugs.winehq.org/show_bug.cgi?id=19581
Vitaliy Margolen vitaliy@kievinfo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #7 from Vitaliy Margolen vitaliy@kievinfo.com 2009-10-06 21:57:57 --- Closing
https://bugs.winehq.org/show_bug.cgi?id=19581
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|-unknown |advapi32 URL| |https://web.archive.org/web | |/20161115203751/http://down | |load.microsoft.com/download | |/6/f/5/6f5f7a01-50bb-422d-8 | |742-c099c8896969/En_vs_2005 | |_vsts_180_Trial.img