I have a hard drive mounted as /data. I'm the owner of the mountpoint, and I own all the directories under it. I installed an IDE under /data. It contains a shell script you need to execute to setup the IDE. This file is also owned by me, and is user, group, world executable. (i.e. I don't need chmod +x ...). For some reason, it wont let me execute the script. I continually get permission denied errors. As soon as I move the file to my home directory, with no permissions changes, it lets me execute the script. Is there a setting somewhere that is preventing me from executing files outside of my home directory, even if I own them and they are set as executable?
In case it matters, I'm running 16.04.