https://bugs.winehq.org/show_bug.cgi?id=47944
Bug ID: 47944 Summary: Wine64 tries to change permissions in /private/tmp/ that fails on macOS 10.15 Catalina Product: Wine Version: 4.17 Hardware: x86-64 OS: Mac OS X Status: UNCONFIRMED Severity: major Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: mterrisse@free.fr
Hello,
We develop Windows applications that work on Linux and macOS thanks to Wine. Those are 64-bit applications so we thought that we wouldn't have major problems when switching to macOS 10.15 Catalina. We can indeed run the applications with wine64 (Wine 4.17).
But they freeze when they try to display an html browser (CEF, Chromium Embedded Framework) with these errors in the console: 0162:err:virtual:map_file_into_view failed to set PROT_EXEC on file map, noexec filesystem? 0162:err:virtual:virtual_map_section mapping 0x4db0000 1000 000000000 failed
We discovered that it fails on a fresh install, but it works if we disable SIP (System Integrity Protection). We can indeed read this in the system log : kernel (AppleSystemPolicy) Library load (/private/tmp/.wine-1604910507/server-1000004-86265/anonmap.7vgk04) rejected: library load disallowed by system policy
So is there a way to tell Wine not to use /private/tmp but another folder for temporary files?
Regards,
Michel Terrisse