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 601742 - A certain file is executed when pressing "View", gedit isn't opened
A certain file is executed when pressing "View", gedit isn't opened
Status: RESOLVED FIXED
Product: nautilus
Classification: Core
Component: general
2.28.x
Other Linux
: Normal normal
: ---
Assigned To: Nautilus Maintainers
Nautilus Maintainers
Depends on:
Blocks:
 
 
Reported: 2009-11-12 20:41 UTC by Sense Hofstede
Modified: 2009-11-13 13:40 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Sense Hofstede 2009-11-12 20:41:32 UTC
When double-clicking files that have the +x bit and can be executed you get a dialogue prompting you if you want to execute, execute in terminal or view the file. If you press view and the file has the content of what I'm going to provide it will be executed still.

You have to create an executable file with this content:
#!/bin/bash

for x in `find . -type f`; do new=`echo $x | tr '[A-Z]' '[a-z]'`; mv $x $new; done

Other files are opened with the default text editor, as they should be.

This bug was originally reported by yetanotherhandle in Ubuntu on Launchpad,  https://launchpad.net/bugs/364376
Comment 1 Sense Hofstede 2009-11-13 13:40:53 UTC
Downstream reports this bug has been fixed during the life of 2.27, so I'm marking this bug as resolved. Please reopen it if it does turn up again.