Hi there,
I've just migrated to Debian from the Kurumin distribution, where when I wanted to run a shell script, I ran
./script.sh
from the konsole.
Now, when I try to do this, i receive:
bash: ./script.sh: /bin/sh: bad interpreter: Permission Denied
My /bin/sh is a link to bash ( /bin/sh -> bash ), and I've also tried to change it to /bin/bash ( /bin/sh -> /bin/bash ), but the result is the same, as it's too when I use the
./script.sh
command as root.
I can use
sh script.sh
normally, but if somebody could tell me what's happening, I'd be very happy.