<div dir="ltr"><font color="#000000"><font size="2"><b>Try:<br>#./tst<br><br>#file tst<br>tst: Bourne shell script text executable<br><br><br clear="all"></b></font></font>--------------------------<br>Best Wishes,<br>Waleed Harbi<br>

<br>Dream | Do | Be <br>
<br><br><div class="gmail_quote">On Sat, Feb 6, 2010 at 6:03 PM, Patrick O&#39;Callaghan <span dir="ltr">&lt;<a href="mailto:pocallaghan@gmail.com">pocallaghan@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">

Can anyone explain why this doesn&#39;t work? I&#39;ve been writing shell<br>
scripts on and off for several decades and I can&#39;t see what&#39;s going on<br>
here. Is senility setting it?<br>
<br>
$ cat &gt; tst<br>
#!/bin/sh<br>
echo foo<br>
$ chmod +x tst<br>
$ ls -l tst<br>
-rwxrwxr-x 1 poc poc 19 2010-02-06 10:22 tst<br>
$ type tst<br>
tst is ./tst<br>
$ tst<br>
bash: ./tst: Permission denied<br>
<br>
(SElinux is off, if it matters).<br>
<br>
poc<br>
<font color="#888888"><br>
--<br>
users mailing list<br>
<a href="mailto:users@lists.fedoraproject.org">users@lists.fedoraproject.org</a><br>
To unsubscribe or change subscription options:<br>
<a href="https://admin.fedoraproject.org/mailman/listinfo/users" target="_blank">https://admin.fedoraproject.org/mailman/listinfo/users</a><br>
Guidelines: <a href="http://fedoraproject.org/wiki/Communicate/MailingListGuidelines" target="_blank">http://fedoraproject.org/wiki/Communicate/MailingListGuidelines</a><br>
</font></blockquote></div><br></div>