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@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
Touch seeded packages, 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@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

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to