Public bug reported: Binary package hint: nautilus
If I create a file with extension ".php", and edit it so it contains some html content, with some <?php ... ?> tags, double-clicking the file in nautilus brings up a warning box containing: """ The filename "index.php" indicates that this file is of type "PHP script". The contents of the file indicate that the file is of type "HTML document". If you open this file, the file might present a security risk to your system. Do not open the file unless you created the file yourself, or received the file from a trusted source. To open the file, rename the file to the correct extension for "HTML document", then open the file normally. Alternatively, use the Open With menu to choose a specific application for the file. """ ...and refuses to open the file. Is there any way I can force gnome/nautilus into believing that this is actually a php file? (The context menu actions assume it is of type "HTML Document") I'm sure I've run into this problem before with other files, but cannot remember any details. ** Affects: nautilus (Ubuntu) Importance: Undecided Status: Unconfirmed -- Incorrect filetype recognition https://launchpad.net/bugs/64559 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs