Bug 5974

Summary: application/x-ms-dos-executable should be a sub-class of application/x-executable
Product: shared-mime-info Reporter: Elie Morisse <lachienne>
Component: freedesktop.org.xmlAssignee: Jonathan Blandford <jrb>
Status: RESOLVED NOTOURBUG QA Contact:
Severity: normal    
Priority: high    
Version: unspecified   
Hardware: x86 (IA32)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:

Description Elie Morisse 2006-02-21 05:38:25 UTC
Actually gnome-vfs has some problems to detect Windows executables as potentiel
executables, they are categorized application/x-ms-dos-executable and e.g
Nautilus refuses to launch them with wine and binfmt_misc. I looked a bit the
gnome-vfs code and it seems that only text files and application/x-executable
objects ( or sub-objects ) are considered as potential executables, so i had to
modify freedesktop.org.xml to make wine and binfmt_misc work.
The "magic priority" and "glob pattern" fields of x-ms-dos-executable type are
also in x-executable node, so i think it would not cost any disagreement to put
x-ms-dos-executable as a sub-class of application/x-executable

Cheers!
Comment 1 Christian - Manny Calavera - Neumair 2006-02-21 08:07:37 UTC
Thanks for your bug report!

I agree with you that application/x-ms-dos-executable should be made a
application/x-executable subclass, but first I'd like to know how it can be
ensured that binfmt_misc spports both wine and mono applications, so that we
don't break anything previously working.
Comment 2 Bastien Nocera 2008-06-11 11:09:46 UTC
The bug should be filed against nautilus to allow application/x-ms-dos-executable to be executable instead.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.