[Bug 362121] [NEW] xdg-open fails to identify mime-type except by extension

Jesdisciple jesdisciple at gmail.com
Thu Apr 16 03:39:04 UTC 2009


Public bug reported:

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.

An exploration of the original symptom (triggered by directories) is
available at [ http://ubuntuforums.org/showthread.php?p=7079723 ].

Thanks!
Chris

** Affects: xdg-utils (Ubuntu)
     Importance: Undecided
         Status: New

** 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 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.
+ 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.
  
  Thanks!
  Chris

** Summary changed:

- xdg-open fails to identify mime-type of directories
+ xdg-open fails to identify mime-type except by extension

** 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.
  
+ 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