Re: Stoopid script failure

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

 



On Sat, 2010-02-06 at 10:26 -0500, Todd Zullinger wrote:
> Patrick O'Callaghan 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?
> 
> It may be, but it brings with it many benefits -- like being able to
> eat dessert twice because you "forgot" you'd had cake already. ;)
> 
> > $ tst
> > bash: ./tst: Permission denied
> 
> '.' is not in $PATH (by default and for good reason), so you must
> specify ./tst to run the script.

I know . isn't in $PATH by default. I added it to $PATH before doing
this, as evidenced by the "type tst" line in my post.

Furthermore, I also get:

$ ./tst
bash: ./tst: Permission denied
$

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