I installed Debian in VirtualBox (for various experiments which usually broke my system) and tried to launch the VirtualBox guest addon script. I logged in as root and tried to launch
autorun.sh, but I got «Permission denied».
ls -l shows that the script have an executable rights.
Sorry, that I can't copy the output -- VirtualBox absolutely have no use without the addon, as neither a shared directory, nor a shared clipboard works. But just for you to be sure, I copied the rights by hands:
#ls -l ./autorun.sh -r-xr-xr-x 1 root root 6966 Mar 26 13:56 ./autorun.sh
At first I thought that it may be that the script executes something that gave the error. I tried to replace
/bin/sh with something like
#/pathtorealsh/sh -xv, but I got no output — it seems the script can't even be executed.
I have not even an idea what could cause it.