Is it possible to enforce noexec for Wine on ntfs partition ?

Manish Jain bourne.identity at hotmail.com
Tue Apr 25 17:38:02 UTC 2017


On Tue, Apr 25, 2017 at 10:51 PM, Polytropon <freebsd at edvax.de> wrote:
Note that I cannot enable this behavior with '-o noexec' : that only disables execution of binaries by the kernel itself, not the emulation layer - which just needs read access.
Correct. "Windows" programs aren't executed in a manner that it would be triggered by the -noexec mechanism.


Hi Poly/others,

But it should be possible to make this a configurable option for emulators/wine and emulators/i386-wine. For volumes mounted with noexec passed to ntfs-3g/fuse, Wine honours that the noexec behaviour everywhere under the volume. That makes good sense to me.

Regards Manish Jain


More information about the freebsd-questions mailing list