double-clicking on an executable created with gcc6 opens an error message
Bug #1635376 reported by
Hadrien
This bug affects 3 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Nautilus |
Unknown
|
Medium
|
|||
nautilus (Ubuntu) |
Triaged
|
Low
|
Unassigned |
Bug Description
Ubuntu 16.10 x64 with Nautilus 3.20.3
* Open a terminal
* Install gcc: sudo apt install build-essential
* Build an executable: printf "int main() { return 1; }" | gcc -x c -
* Open a Nautilus window on the current directory: nautilus .
* Double-click on the generated executable: a.out
Expected result: Nautilus starts the executable. No error is displayed.
Actual result: Nautilus displays an error message:
Could not display "a.out".
There is no application installed for shared library files.
Do you want to search for an application to open this file?
Also, all executable files compiled with gcc6 have a generic icon instead of the purple lozenge.
description: | updated |
description: | updated |
description: | updated |
Changed in nautilus (Ubuntu): | |
status: | New → Triaged |
importance: | Undecided → Low |
Changed in nautilus: | |
importance: | Unknown → Medium |
status: | Unknown → Confirmed |
Changed in nautilus: | |
status: | Confirmed → Unknown |
To post a comment you must log in.
Does a.out have execution permission? What is the expected result? Open terminal and show output of a.out?