Comment 0 for bug 362121

Revision history for this message
Jesdisciple (jesdisciple) wrote : xdg-open fails to identify mime-type of directories

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 this 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.

Thanks!
Chris