[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

(OT) exec nonreadable shell scripts



sorry for off-topic, but I've been banging my head trying to set up shell
scripts that can be executed but not read by a user.  

Basically, for test.sh :

#!/usr/bin/bash
echo hullo!

***
[rmr@saturn:~]$ chmod 111 test.sh 
[rmr@saturn:~]$ ./test.sh 
./test.sh: ./test.sh: Permission denied


note: I'm in front of a solaris box at the moment, so I may be
misremembering the bash path.

thanks,
rick

--
When Gladstone was British Prime Minister he visited Michael Faraday's
laboratory and asked if some esoteric substance called `Electricity'
would ever have practical significance.
"One day, sir, you will tax it," was the answer.
                       -- Science, 1994



Reply to: