After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 322868 - nautilus wants to execute all text files on a vfat flash drive
nautilus wants to execute all text files on a vfat flash drive
Status: RESOLVED DUPLICATE of bug 313023
Product: nautilus
Classification: Core
Component: Navigation
2.13.x
Other Linux
: Normal minor
: ---
Assigned To: Nautilus Maintainers
Nautilus Maintainers
Depends on:
Blocks:
 
 
Reported: 2005-11-30 17:38 UTC by Sebastien Bacher
Modified: 2007-01-17 05:58 UTC
See Also:
GNOME target: ---
GNOME version: 2.13/2.14



Description Sebastien Bacher 2005-11-30 17:38:55 UTC
This bug has been opened here: http://bugzilla.ubuntu.com/show_bug.cgi?id=7999

"I just got a new USB drive.  It's pretty spiffy.

Whenever I plug it in it automounts and appears on my desktop.  That's also
pretty spiffy.

The problem comes in two parts:

1: The filesystem is mounted with a set of options that cause all files on the
vfat drive to be marked executable (ie: the kernel default).

2: When you double-click an executable but otherwise recognised file in
nautilus, you get 'Do you want to run "file.abw", or display its contents?'.

I don't ever want to execute an Abiword document.

So either the defaults (in pmount?) need to be modified to change the file mode
mask for vfat filesystems or nautilus needs to be patched to not ask this
question all the time."

it's specific to text files though
Comment 1 Chris Ball 2006-03-23 21:31:17 UTC
This appears to be fixed in 2.14.0:

havoc:cjb~ % ls -la /media/TOSHIBA256M/DCIM/113CANON/foo.abw
-rw------- 1 cjb cjb 0 2006-03-23 16:28 /media/TOSHIBA256M/DCIM/113CANON/foo.abw
havoc:cjb~ % chmod a+x /media/TOSHIBA256M/DCIM/113CANON/foo.abw
havoc:cjb~ % ls -la /media/TOSHIBA256M/DCIM/113CANON/foo.abw
-rwx------ 1 cjb cjb 0 2006-03-23 16:28 /media/TOSHIBA256M/DCIM/113CANON/foo.abw

(Double click in nautilus, file opens in Abiword.)
Comment 2 Sebastien Bacher 2006-04-09 21:46:13 UTC
Not fixed but duplicate of bug #313023
Comment 3 Sebastien Bacher 2006-04-09 21:46:30 UTC

*** This bug has been marked as a duplicate of 313023 ***
Comment 4 Ryan Pavlik 2007-01-17 05:58:21 UTC
I'm guessing this is because all files show up as marked as executable on a vfat drive so that executables work (since vfat doesn't have a +x attrib) and so that directories are browseable.  It seems to me that the solution would be to find out what file system a file is on before popping up the executable text file window, though I could be completely wrong with this :)