I have observed the following on different machines, using opensuse 10.3 and 11 - different accounts - same behavior. It is strange but I have searched for a solution several times spent hours found nothing.
OK the problem is: openoffice files are not correctly associated with openoffice in nautilus. I know the open-with thing but it does not help:
Every time I click on .odt .ods .od… nautilus asks me: Do you want to run “Filename.odt” or display its contents? “Filename.odt” is an executable text file. [Run in Terminal] [Display] [Cancel] [Run]
Frustrating. RMB/Openwith/Other…/Openoffice works, but it does not allow to save that as a default decision.
As it does happen on fresh created new accouts too, I do not think it is a pernonal settings problem or is it?
All my 5 machines are either OpenSuse10.3 or updated to OpenSuse11 same behavior everywhere …
yes, thanks, but as I sad the open with dialog does not help. Shure I can open the filer with by pressing RMB/Openwith/…/…/ but there is NO possibility to say “remember that” or similar. So this does not help.
Meanwhile I could find out a very interesting thing. The described behavior ONLY happens on FAT16 (USB disks) pluged in and auto mounted in nautilus.
Can someone reproduce this issue?
(To make it clear: open by dobbleclick on a local odt file works. copy the same file to the usb drive. double click on it nautilus says its an executeable text file … no “reassigning possible” via open with …)
> yes, thanks, but as I sad the open with dialog does not help. Shure I
> can open the filer with by pressing RMB/Openwith/…/…/ but there is
> NO possibility to say “remember that” or similar. So this does not
> Meanwhile I could find out a very interesting thing. The described
> behavior ONLY happens on FAT16 (USB disks) pluged in and auto mounted in
> Can someone reproduce this issue?
> (To make it clear: open by dobbleclick on a local odt file works. copy
> the same file to the usb drive. double click on it nautilus says its an
> executeable text file … no “reassigning possible” via open with …)
FAT, in any of its variations, does not support the READ/WRITE/EXEC flags
present in linux’s ext2/3 and variants. The system emulates R/W/X and forces
them on for the files… which is why you’ll always see 'executable jpg’s and
whatnot, since the filesystem defaults to emulating those permissions for the
When the file is copied to the FAT16 (or FAT32) filesystem, it gains the
execute flag automatically. Nautilus senses the executable flag first, then
interprets the magic numbers for each filetype… which kills the ‘open with
Copying the file to the hard drive doesn’t help, since the RWX flags are
copied along with it… so you end up with a file marked as executable,
although it’s not executable (in any manner). If you right click on the
file, choose properties and clear the ‘is executable’ flag on the permissions
tab, all will be good.
This is a “bug/feature” associated with Microsoft’s FAT filesystem formats.
msdos/fat16/fat32/vfat are all affected by this. Adding the ‘mode=0644’ or
‘fmask=0644’ option to the mount options can help.
Again, this isn’t an issue with Nautilus, this is an issue concerning using
FAT based filesystems to convey files.
well Loni might be right, but sometimes you cannot do anything against having .odt files marked executable (i.e. our heterogeneous Network here having Windows and Linux machines mounting the same “fileserver”). For example I do not have permissions to change file attributes on the server. What am I do than?
I do think there is another solution, since our Gentoo workstations do not show this behavior, it is only my Openoffice 11. which just annoys me everytimes with asking if I do what to execute my odt file.
Since this happens with all USB sticks as well, I do not understand why I should be the only one annoyed with this?
I do use the default settings to mount USB sticks in Opensuse (at least I did not change anything) … I didn’t found anything in the forums here …