bash problem!

James Wilkinson fedora at westexe.demon.co.uk
Mon Jan 9 22:56:55 UTC 2006


John Pierce wrote:
> Hello, I have just finished a new install fedora 4 and have created a
> simple shell script to run as a cron job.
> 
> If I try to execute the script from the command line I get the following error.
> 
> "bash: ./dailybup: /bin/bash: bad interpreter: Permission denied"
> 
> This script is located on an nfs share and if I move to any of the
> other 5 fedora 4 machines on the network the script executes without
> error.

How is the nfs share mounted on the problem machine? If you run
mount | grep noexec
is it listed?

Hope this helps,

James.

-- 
E-mail address: james | The camel has a single hump;
@westexe.demon.co.uk  | The dromedary two;
                      | Or else the other way around.
                      | I'm never sure.  Are you?  -- Ogden Nash




More information about the fedora-list mailing list