Closed lmar76 closed 5 years ago
I'll have a look on it. Have you tried
$ /bin/bash ./test.sh
?
bash test.sh
and
. test.sh
or . ./test.sh
both work for me, but, as you have found, just ./test.sh
doesn't work. This is the normal behaviour with bash(edit) although I don't know why. Edit: might be something weird about the way JupyterHub works (I found that it worked fine on a locally running JupyterLab)
The problem is that the NFS volume holding the home directories is mounted with noexec
flag.
I tried right now on the staging VRE and it works. On the operational one it is still not working.
I just fixed this issue on the operational system as well, please try again.
Tested, it works. Thank you.
Currently, it is only possible to execute software code via Notebooks and Python console but it is not possible to execute a script or any executable file via shell (e.g. from the Bash Terminal) even if the execute permission is applied to the file: