home dir executable (!/bin/sh, chmod+x) shell scripts won't
run without "sh <script>"
Mike Bristow
mike at urgle.com
Mon Jan 7 09:15:30 PST 2008
On Mon, Jan 07, 2008 at 10:50:47AM -0600, Erik Osterholm wrote:
> The '.' notation for the current working directory enables you to add
> the current directory you happen to be in as part of your path (thus
> making it searched when executing a command), however this has serious
> security implciations, so if you think that it's something you really
> want to do, you'll have to find out from someone else how to do it.
OTOH, having ~/bin in the path has no security implications at all -
assuming your scripts are OK, of course.
--
Shenanigans! Shenanigans! Best of 3!
-- Flash
More information about the freebsd-questions
mailing list