Text file with execute permission are opened in gedit
Bug #8042 reported by
Santiago Erquicia
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
nautilus (Ubuntu) |
Fix Released
|
Medium
|
Sebastien Bacher |
Bug Description
I have a text file that it's a shell script with permission to be executed.
When I double-click over it, it is opened by gedit instead of being asked what
to do as the nautilus option is set.
To post a comment you must log in.
What's the mime-type of the file (properties in nautilus, or gnomevfs-info
file:///path/file) ?
What's the first line of the script ?