Open probonopd opened 5 years ago
it's actually faster to just try to set them executable and then execute them and maybe show an error later saying they aren't executable than first checking if the execution bit has been set
2.2.1 will fix this
Investigating a bit this seems impossible, the process needs to be spawned as a detached process so when Drill is closed the AppImage will continue to stay alive, but this means that the nanosecond after spawning it I will lose all connections and privileges to it
so probably checking the bit BEFORE is sadly the only solution
ok for now I will consider not a fatal error when an AppImage can't be set as executable and Drill will try to run it anyway
in the future I will add that Drill will check the execution bit and if can't set the execution bit to executable AND the execution bit is false it will output an error
Linux distro Xubuntu 18.04 Live ISO
Build Version
Drill-GTK-linux-x86_64-release-2.1.1.AppImage
Describe the bug
My AppImages are on a read-only partition. They are already executable.
To Reproduce Steps to reproduce the behavior:
Expected behavior
Drill should only attempt to set the executable bit if the bit is lacking and the AppImage is writable. If Drill can't set the executable byte, it should possibly still try to launch the AppImage.