Public bug reported:

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
Actual result: Nautilus displays an error message:

   Could not display "a.out".
   There is no application installed for executable files.
   Do you want to search for an application to open this file?

** Affects: nautilus (Ubuntu)
     Importance: Undecided
         Status: New

** Description changed:

  Ubuntu 16.10 x64 with Nautilus 3.20.3
  
  * Open a terminal
  * Install gcc: sudo apt install build-essential
- * Build an executable with gcc: printf "int main() { return 1; }" | gcc -x c -
+ * 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
  Actual result: Nautilus displays an error message:
  
-    Could not display "a.out".
-    There is no application installed for executable files.
-    Do you want to search for an application to open this file?
+    Could not display "a.out".
+    There is no application installed for executable files.
+    Do you want to search for an application to open this file?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1635376

Title:
  double-clicking on an executable created with gcc6 opens an error
  message

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nautilus/+bug/1635376/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to