[Bug 362121] Re: xdg-open fails to identify mime-type except by extension
Jesdisciple
jesdisciple at gmail.com
Thu Apr 16 15:51:34 UTC 2009
** Description changed:
Binary package hint: xdg-utils
Ubuntu 8.10
xdg-utils 1.0.2-6
On my system, using xdg-open to access any directory from within the environment (regardless of privileges) prepared by sudo results in the following output:
> Warning: unknown mime-type for "<directory>" -- using "application/octet-stream"
> Error: no "view" mailcap rules found for type "application/octet-stream"
A similar response is returned for text files without extensions. .diff and .txt are opened in less; .sh only triggers an error:
> Error: no "view" mailcap rules found for type "application/x-sh"
Another user reported the first output a few months ago at Bug #323710,
and I suspect that a similar factor persists on his system as is
produced by sudo on mine. I don't yet have a clue how sudo modifies my
environment to trigger this bug.
+ The strange application choices for known file types are also
+ significant, but I'm not sure whether they are part of this bug.
+
An exploration of the original symptom (triggered by directories) is
available at [ http://ubuntuforums.org/showthread.php?p=7079723 ].
Thanks!
Chris
--
xdg-open fails to identify mime-type except by extension
https://bugs.launchpad.net/bugs/362121
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
More information about the universe-bugs
mailing list