Stoopid script failure

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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).

poc

-- 
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

[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux