Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 85799 - shared-mime-info: Incorrect mime entry for application/x-shellscript in freedesktop.org.xml file
Summary: shared-mime-info: Incorrect mime entry for application/x-shellscript in freed...
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Desktop Misc. Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-03-18 10:16 UTC by James Thomas
Modified: 2005-04-24 15:33 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description James Thomas 2005-03-18 10:16:00 UTC
The mime type entry for shellscripts (application/x-shellscript), in the /usr/share/mime/packages/freedesktop.org.xml file, is incorrect, when using shared-mime-info 0.15.

The match value for bash, nawk, tcsh,csh, zsh and sh shells is incorrect, which results in applications using the specification (such as nautilus) unable to execute certain shell scripts.

Reproducible: Always
Steps to Reproduce:
1.Using nautilus, double click bash shell script
2.
3.

Actual Results:  
Error message is displayed

Expected Results:  
Should be promted as to what to do with the script, read, execute etc...

Adding a #! solves the problem, for example

<match value="/bin/bash" type="string" offset="1:16"/> should be
<match value="#!/bin/bash" type="string" offset="1:16"/>

Once done, run update-mime-database.
Comment 1 Heinrich Wendel (RETIRED) gentoo-dev 2005-03-25 04:02:16 UTC
what's your nautilus version? try shared-mime-info-0.16
Comment 2 Heinrich Wendel (RETIRED) gentoo-dev 2005-04-24 15:33:26 UTC
please try shared-mime-info-0.16