On Fri, 11 Feb 2000, kevin williams wrote:
> then when I execute it with a ./example.sh
> I get a permission denied
> do I need to set a permission?
Scripts need to be executable unless you are sourcing them.
--
Todd A. Jacobs
Network Systems Engineer
--
To unsubscribe: mail [EMAIL PROTECT
thanks for the help
chmod did the trick
thanks
kevin
-Original Message-
From: David Powers <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
Date: Friday, February 11, 2000 10:12 PM
Subject: Re: shell files won't run
>Sounds like the file is not exec
Sounds like the file is not executable, what does ls -l example.sh show
you?
kevin williams wrote:
>
> redhat 6.0
>
> I create a shell file - say - example.sh
>
> then when I execute it with a ./example.sh
>
> I get a permission denied
>
> do I need to set a permission?
>
> thanks
> kevin
>
On Fri, 11 Feb 2000, kevin williams wrote:
>
> then when I execute it with a ./example.sh
>
> I get a permission denied
You haven't told the OS that it can be executed (Assuming you did put
the #!/bin/bash or whatever line). chmod +x in the very least.
--
Duncan Hill Sa
redhat 6.0
I create a shell file - say - example.sh
then when I execute it with a ./example.sh
I get a permission denied
do I need to set a permission?
thanks
kevin
--
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.