Permission Denied error - what am I missing?

Keith Bainbridge <[email protected]> Mon, 17 Jul 2006 12:57:10 -0400
Newsgroups gmane.org.user-groups.mlug.main
Organization Self
Message-ID <[email protected]>
G'day All,

Having trouble getting a script to run - it has run well for weeks until a few days ago.

>From 
keith@box4:/tmp$
I type & tab to complete:
/home/keith/data/keithStuff/scripts/2hours10data.sh

The response is alomost instantaneous:
bash: /home/keith/data/keithStuff/scripts/2hours10data.sh: Permission denied
So:
keith@box4:/tmp$ sudo /home/keith/data/keithStuff/scripts/2hours10data.sh
sudo: unable to execute /home/keith/data/keithStuff/scripts/2hours10data.sh: Permission denied

again instantaneous

To check that I should be able to run the script:
keith@box4:/tmp$ ls -l !$
ls -l /home/keith/data/keithStuff/scripts/2hours10data.sh
-rwxr-xr-x 1 keith keith 1394 Jul 17 12:50 /home/keith/data/keithStuff/scripts/2hours10data.sh
keith@box4:/tmp$

If I copy & paste teh contents of the script into a knosole, everything is fine.

What have I missed?  please.

-- 
Thanks and kind regards


Keith Bainbridge
PO Box 324
BELMONT  Vic   3216   Australia
+613 5241-1881
[email protected]
[email protected]