GNOME Bugzilla – Bug 553856
gives incorrect warning when opening .m example
Last modified: 2008-09-26 09:43:18 UTC
the bug has been described on https://bugs.launchpad.net/ubuntu/+source/nautilus/+bug/112228 "To reproduce: 1. Try to open the file attached below by double clicking it in nautilus. 2. See the error message: "The filename "covariance.m" indicates that this file is of type "Objective-C source code". The contents of the file indicate that the file is of type "MATLAB script/function". If you open this file, the file might present a security risk to your system. http://launchpadlibrarian.net/7547017/covariance.m After a fresh GNU-Linux installation, Nautilus correctly opened xxx.m files with gedit, without complaining. After I played around with "Open With" feature (I wanted to make Scite the default application for such files) Nautilus started showing that useless warning message."
The warning seems to be due to the fact that there is dismatch between the applications used to open text/x-objcsrc and text/x-matlab, there are both text formats though and it should not trigger a warning there. The warning is not displayed on nautilus 2.24 but that's likely due to bug #553852
the glib issue was not a bug but a design change and that fixes this bug