Ticket #96 (closed enhancement: fixed)

Opened 18 months ago

Last modified 18 months ago

Current-user PMCs fail to create on wine

Reported by: jasper Owned by: jasper
Priority: minor Milestone: Maintenance of Phase II
Component: COBIA core Version:
Keywords: Cc:


Because wine launches applications as if they have administrative rights, COBIA on Wine will not create unit operations that are installed for all users.

For practical reasons, COBIA refusing to create per-user PMCs when running elevated can be ignored on wine. Although in theory this would allow non-privileged users to gain administrative access by tricking an administrator in creating a per-user PMC, on wine this has no practical implication as wine in any case starts processes with elevation by default.

Change History

comment:1 Changed 18 months ago by jasper

Wine is detected by the entry point wine_get_version in ntdll.dll; in this case per-user PMCs are allowed when running in an elevated process.

comment:2 Changed 18 months ago by jasper

  • Status changed from new to closed
  • Resolution set to fixed

Fixed in ticket 96

comment:3 Changed 18 months ago by jasper

Wine users should also take into account that

  • per user PMC registrations on Windows will likely fail on a clean wine installation, as HKEY_CURRENT_USER\Software\CLSID does not exist - this key first needs to be manually created using e.g. regedit
  • it appears per user PMC registrations on Windows do not reflect in HKEY_CLASSES_ROOT, hence, manual addition of the keys to HKEY_CLASSES_ROOT or to HKEY_LOCAL_MACHINE\Software\CLSID may be required.
Note: See TracTickets for help on using tickets.