Rick wrote:
> 
> 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!
> 
> ***
> [EMAIL PROTECTED]:~]$ chmod 111 test.sh
> [EMAIL PROTECTED]:~]$ ./test.sh
> ./test.sh: ./test.sh: Permission denied
> 
Just played with it for a minute and it seems the user bit has to have
read permission but that would keep group and other from reading the
contents. Don't know why read has to be this way.

Eric :-)

Reply via email to