You are not logged in.
Pages: 1
hello every one
I have created a test file:
#!/bin/sh
echo "hello, this is a test"
ls
then
chmod +x test
./test
and the result is
-bash: ./test: Permission denied
pleas help me no shell scrips work!!!
Last edited by hsn (2009-09-08 08:05:16)
Offline
It was for a wrong mount option
Offline
what are the outputs of these commands :
ls -dl .
ls -l test
mount
Is the partition holding your working directory mounted with the "noexec" option ?
take time to daydream, inspiration comes ...
Offline
what are the outputs of these commands :
ls -dl . ls -l test mount
Is the partition holding your working directory mounted with the "noexec" option ?
Thanks
Offline
Damn, I was right, but you beat me
take time to daydream, inspiration comes ...
Offline
Pages: 1