So basically, i have absolutely no permissions to execute any of my own compiled binaries. Just keep getting a “Permission denied” message if i just run it and “cannot execute binary file” if i run sh myexecutable
I have to add sh to run even a simple shell script which is also super strange, and i have absolutely no tab completion other than for the main system files. Even in the current directory i have no tab completion on shell scirpts that have .sh extensions unless I type sh script.sh
This is a brand new install in case that makes any difference.
That’s because the current directory is not on your path. Put the script in your “bin” directory and give it execute permissions, and it will probably work (unless there are script errors).
OK I’m going to add the fact that I’m a professional developer and have been running linux exclusively for almost 15 years. I’m no stranger to making completely brainless mistakes but file permissions and knowing how and when to specify the current directory are not my problem
Paths are not (perhaps I should say SHOULD NOT BE) the issue either as I have all the necessary dev directories in PATH.
There are no script errors. all the shell scripts have and continue to execute perfectly on RHEL, fedora and arch boxes.
And finally, the executables also have and continue to run perfectly on RHEL, fedora and arch boxes.
I’m starting to think I must have really screwed something up because I also had this strange conflict with evdev, synaptics and libinput and had to remove libinput to get my touchpad working. Ao maybe I was trigger happy selecting packages and installed a bunch of pointless stuff that has caused some strange conflict problems.