thiagorb/suid-wrapper

Invalid binary path gives no error message

Closed this issue · 1 comments

Actual Behavior

Running the command without providing the full path to the executable binary creates an executable that doesn't do anything.

suid-wrapper -o ls_la ls -- -la

Expected behavior

One of these options:

  1. The runner creation should fail if the argument is not a path to an executable file.
  2. The runner should check if the execution failed, and display an error message.

Solved in v0.1.4