On 02/06/2010 03:44 PM, Patrick O'Callaghan wrote: > On Sat, 2010-02-06 at 09:25 -0600, inode0 wrote: >> On Sat, Feb 6, 2010 at 9:03 AM, Patrick O'Callaghan >> <pocallaghan@xxxxxxxxx> wrote: >>> Can anyone explain why this doesn't work? I've been writing shell >>> scripts on and off for several decades and I can't see what's going on >>> here. Is senility setting it? >>> >>> $ cat > tst >>> #!/bin/sh >>> echo foo >>> $ chmod +x tst >>> $ ls -l tst >>> -rwxrwxr-x 1 poc poc 19 2010-02-06 10:22 tst >>> $ type tst >>> tst is ./tst >>> $ tst >>> bash: ./tst: Permission denied >>> >>> (SElinux is off, if it matters). >> >> Any chance the filesystem is mounted with noexec? > > That's exactly it! Thanks, I was starting to worry about my sanity. > > poc > > Find someone who hasn't been in this type of situation, I think the cliche, not seeing the wood for the trees,springs to mind,and it's happened to me on a few occasions. As far as I'm concerned it's nothing to worry, or be ashamed about, it just lets others know you're human. More to the point this mailing list comes to the rescue yet again when you're sat too close to a problem to see the solution. P.S you're only human poc, geeky maybe, but not insane JB -- users mailing list users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines