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

Re: (OT) exec nonreadable shell scripts



On Wed, Jan 10, 2001 at 06:24:33PM +0000, 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!
> 
> ***
> [rmr@saturn:~]$ chmod 111 test.sh 
> [rmr@saturn:~]$ ./test.sh 
> ./test.sh: ./test.sh: Permission denied
> 
The shell reads scripts in order to execute them.

Cliff



Reply to: