Package: beagle
Version: 5.0-180928+dfsg-1
Severity: serious

Hi,

beagle is written in java and shipped as /usr/share/beagle/beagle.jar
with 0644 permissions.

/usr/bin/beagle is a symlink to above jar. Starting it fails, as the jar
is not executable.

However, even if it would be executable, it woudln't work as jars are
not binaries to be executed directly in the first place. Something like
this should be used as /usr/bin/beagle instead of the symlink:

---snip---
#!/bin/sh

set -e

java -jar /usr/share/beagle/beagle.jar ${@}
---snap---

Regards,
Daniel

Reply via email to