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 313023 - smarter handling of executable textfiles
smarter handling of executable textfiles
Status: RESOLVED WONTFIX
Product: nautilus
Classification: Core
Component: general
2.13.x
Other All
: Normal normal
: ---
Assigned To: Nautilus Maintainers
Nautilus Maintainers
: 322868 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2005-08-09 16:48 UTC by Björn Lindqvist
Modified: 2017-04-05 19:27 UTC
See Also:
GNOME target: ---
GNOME version: 2.13/2.14



Description Björn Lindqvist 2005-08-09 16:48:07 UTC
Sorry if this already has been reported. I searched lots and couldn't find it so
I hope it hasn't. On Windows shares all files have +x set so if you click on
them Nautilus asks you if you want to execute them. Even HTML files are labelled
as executable textfiles. Maybe Nautilus could be a little smarter and check if
the first line is #!/bin-something before asking if the file should be executed
or viewed?
Comment 1 Christian Neumair 2005-08-09 17:53:33 UTC
Thanks for your bug report!
Maybe we should only allow to execute application/x-shellscript files.
Comment 2 Alexander Larsson 2005-10-28 08:54:02 UTC
Manny: Why only application/x-shellscript? Don't you want to allow e.g perl and
python apps?
Comment 3 lsof 2005-10-28 10:53:43 UTC
It would be good to allow execute just on lines beginning with a shebang which
are executable, i.e. files which can be executed with the correct permissions.
Comment 4 Sebastien Bacher 2006-04-09 21:46:30 UTC
*** Bug 322868 has been marked as a duplicate of this bug. ***
Comment 5 Sebastien Bacher 2006-04-09 21:47:44 UTC
Ubuntu bug about that: https://launchpad.net/distros/ubuntu/+source/nautilus/+bug/14335
Comment 6 Martin Pitt 2010-05-17 13:00:29 UTC
Note that this is more elegantly fixed in udisks, please seehttp://bugs.freedesktop.org/show_bug.cgi?id=28075 . I suggest to close this as "wontfix".
Comment 7 Marcus Carlson 2010-07-22 07:50:53 UTC
I agree, marking as WONTFIX. Reopen if you find that wrong.

Also see bug 601736 about making the dialog more user friendly.