Re: Stoopid script failure

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

 



On Sun, 2010-02-07 at 13:54 -0700, Greg Woods wrote:
> On Sat, 2010-02-06 at 23:24 +0800, Ed Greshko wrote:
> >  have . in your
> > $PATH.  I recall somewhere, sometime a warning against that....but
> I've
> > ignored it for years and haven't had a problem.  I even forgot what
> the
> > warning was all about.
> 
> Generally it's not a good thing to have a different command be
> executed
> depending on what directory you happen to be in when executing it.
> That
> is at best unreliable, and at worst a major security hole.

I completely agree, but in this case I wanted a highly special-purpose
script that would only ever be run in a specific directory, and didn't
overload any system command.

I decided just to put it in my ~/bin, where it works fine.

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