[Bug 1594338] Re: Using exec on a non-supported binary format shows "Success"

Sworddragon 1594338 at bugs.launchpad.net
Mon Jun 20 14:05:40 UTC 2016


I also noticed if the binary format is registered but the file has no
executable permissions I'm getting 2 times the output "Permission
denied":

sworddragon at ubuntu:~$ exec '/wine/drive_c/Program Files (x86)/Steam/Steam.exe'
bash: /wine/drive_c/Program Files (x86)/Steam/Steam.exe: Permission denied
bash: exec: /wine/drive_c/Program Files (x86)/Steam/Steam.exe: cannot execute: Permission denied

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

Title:
  Using exec on a non-supported binary format shows "Success"

Status in bash package in Ubuntu:
  New

Bug description:
  I'm using Ubuntu 16.10 dev with bash 4.3-14ubuntu2 and on using exec
  on a non-supported binary format I'm getting the output "Success"
  while the file couldn't be executed like in this example:

  sworddragon at ubuntu:~$ exec '/wine/drive_c/Program Files (x86)/Steam/Steam.exe'
  bash: /wine/drive_c/Program Files (x86)/Steam/Steam.exe: cannot execute binary file: Exec format error
  bash: /wine/drive_c/Program Files (x86)/Steam/Steam.exe: Success

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



More information about the foundations-bugs mailing list