GNOME Bugzilla – Bug 643877
Nautilus does not show a warning when running binaries
Last modified: 2021-06-18 15:16:01 UTC
Executable binaries. Double clicking on it does not give any warnings, it just runs.
Could you please elaborate a bit? In particular, what behavior would you expect?
Like with shell scripts, it should also show a warning before executing -- "This application can potentially harm your computer or data do you want to run this application?" Options as -- <yes> <no> <Do not prompt me for this application again> You might remove the third option. It happens that people have a habit of clicking everything just to see what happens... this warning will at least make people think twice about executables.
Why should there suddenly be an unknown binary somewhere that people click? What is exactly the usecase here? (I really don't want GNOME to ask me "Are you really really really sure you want to do this and that" everytime.)
People download things and just start clicking on it... cause that's the only thing they can do in a file; as Linux gains in popularity such executables will be common providing people some 'video converter' or 'Desktop theme' or 'Screen saver' or games etc... Since they don't understand what is an executable, they just see it as a 'file' like any other data file they simply click on it without realizing what harm it can do. I'm saying this cause I do this mischief with MS fools and then claim it was a 'virus'.
I am reopening because the information is provided. However, I feel this is going to be a WONTFIX unless somebody comes up with a nice concept and a UI.
Each .desktop file except in /usr/share/applications, if run will make an entry somewhere (assume file X), with it's checksum and it's location. The user will be warned about the .desktop file and the executable (with arguments) it runs. The user will also be given an option to not ask this question for this executable, on doing so, it's path and checksum will be stored in file X, on running the executable it'll be checked if the file exists in X, if so it'll not ask.
GNOME is going to shut down bugzilla.gnome.org in favor of gitlab.gnome.org. As part of that, we are mass-closing older open tickets in bugzilla.gnome.org which have not seen updates for a longer time (resources are unfortunately quite limited so not every ticket can get handled). If you can still reproduce the situation described in this ticket in a recent and supported software version of Files (nautilus), then please follow https://wiki.gnome.org/GettingInTouch/BugReportingGuidelines and create a new ticket at https://gitlab.gnome.org/GNOME/nautilus/-/issues/ Thank you for your understanding and your help.