[Bug 51000] New: Rufus won't run on a fresh prefix; Needs "elevated privileges"
https://bugs.winehq.org/show_bug.cgi?id=51000 Bug ID: 51000 Summary: Rufus won't run on a fresh prefix; Needs "elevated privileges" Product: Wine-staging Version: 6.6 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs(a)winehq.org Reporter: oguilherme(a)protonmail.com CC: leslie_alistair(a)hotmail.com, z.figura12(a)gmail.com Distribution: ArchLinux Created attachment 69844 --> https://bugs.winehq.org/attachment.cgi?id=69844 Wine Staging 6.6 log file Rufus 3.13 (Portable) won't run on a fresh Wine Staging prefix. The oldest staging version I could still reproduce this was on 6.3. Steps to reproduce: 1. Download rufus-3.13p.exe from here: https://github.com/pbatard/rufus/releases/tag/v3.13 (sha1: da498e3e80186ee16620f56a601e19fbdc1f8551) 2. Run: $ WINEPREFIX=~/.wine2 wine rufus-3.13p.exe 3. Rufus will display the following message and exit: "This application can only run with elevated privileges" I wasn't able to reproduce with vanilla Wine. Regards. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=51000 --- Comment #1 from Guilherme S. <oguilherme(a)protonmail.com> --- I think I've got it: https://github.com/wine-staging/wine-staging/commit/811467bf6a4c43de2485b37a... -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=51000 Zebediah Figura <z.figura12(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Regression SHA1| |811467bf6a4c43de2485b37a74b | |afb70d072617e Keywords| |regression Status|UNCONFIRMED |NEW Ever confirmed|0 |1 --- Comment #2 from Zebediah Figura <z.figura12(a)gmail.com> --- Confirming. It is indeed caused by the "server-default_integrity" patch set. The application requires administrator privileges via a manifest. Windows spawns a UAC prompt in this case; we should automatically elevate the process. Unfortunately this is nontrivial, as the initial process is assigned a token by the server, and the PE side never gets a chance to change it. We either have to copy a large amount of manifest parsing code to ntdll.so, or thunk initial process creation (e.g. use "start /exec" to start all processes?) -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=51000 Zebediah Figura <z.figura12(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |be3928a8091e36197bc9894c4a0 | |9f13cf5459138 Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #3 from Zebediah Figura <z.figura12(a)gmail.com> --- Fixed by wine-staging commit be3928a8091e36197bc9894c4a09f13cf5459138. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=51000 Zebediah Figura <z.figura12(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #4 from Zebediah Figura <z.figura12(a)gmail.com> --- Closing bugs fixed in wine-staging 6.9. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
participants (1)
-
WineHQ Bugzilla