[Linux-disciples] Script in an NFS share

Stephen R Laniel steve at laniels.org
Wed Jul 28 13:17:00 EDT 2004


When I try to run scripts from my /home directory, which is
an NFS volume, I get something like

/bin/bash: /home/slaniel/bin/where: /bin/bash: bad interpreter: Permission denied

Any idea what this is about? I thought perhaps I had
accidentally set up 'noexec' on either the export side of
the NFS share, or the client side. But the export is

/home 192.168.1.100/255.255.255.0(rw,no_root_squash,async)

and the client side is

192.168.1.100:/home /home	nfs	users,rw,auto,rsize=8192,wsize=8192

The script itself that I'm trying to run is simply

#!/bin/bash
find . -type f -iname \*$1\*

Am I looking in the wrong place? Any idea what this error is
all about?

-- 
```Catwoman' is a movie about Halle Berry's beauty, sex
  appeal, figure, eyes, lips and costume design. It gets
  those right. Everything else is secondary, except for
  the plot, which is tertiary.''
 -Roger Ebert



More information about the Linux-disciples mailing list