Red Hat Bugzilla – Bug 229455
cannot open spreadsheet files
Last modified: 2007-11-30 17:11:57 EST
Description of problem:
install Sun Java SE 6.0 rpm
nautilus will see .ods as application/x-java-archive
The filename "file.ods" indicates that this file is of type "ODS spreadsheet".
The contents of the file indicate that the file is of type "Java Archive". If
you open this file, the file might present a security risk to your system.
Do not open the file unless you created the file yourself, or received the file
from a trusted source. To open the file, rename the file to the correct
extension for "Java Archive", then open the file normally. Alternatively, use
the Open With menu to choose a specific application for the file.
Only available option: cancel
The general issue is upstream unsolved since 2004-03-25
Where could I get a .ods file to test with?
Created attachment 148476 [details]
open document spreadsheet
Start OpenOffice Spreadsheet, type something, save.
I've attached one for your convenience :)
(In reply to comment #0)
> Description of problem:
> install Sun Java SE 6.0 rpm
I missed that bit. Does this package include some xml files in
If so, then it's probably breaking the association used in shared-mime-info.
> nautilus will see .ods as application/x-java-archive
Yes it does:
<match type="string" value="PK\003\004" offset="0">
match type="host16" value="0xcafe" offset="40" />
However, the point remains that with Java installed, documents cannot be opened
anymore. The Nautilus dialog should be the above warning + buttons:
[Open with OpenOffice] [Open with java] [Do not open]
And I believe the problem lies with the mime-info provided by the Java SDK.