Subject: Re: build.sh breakage?
To: Brian A. Seklecki <email@example.com>
From: David Laight <firstname.lastname@example.org>
Date: 03/26/2007 22:13:41
On Sun, Mar 25, 2007 at 10:33:25PM -0500, Brian A. Seklecki wrote:
> There's always the possibility you're $PWD is a og+w bit
> (/tmp, /var/tmp) and someone slips in an executable shell script there
> for a command you might type that isn't located in $PATH yet.
Indeed, so if you run as root, with '.' in your $PATH, on a system
where other people might put stuff into odd directories, you are stupid.
There are a lot of other ways a root user can shoot themselves in the foot!
Do you type 'su root' or 'su - root', if the former you are much more
likely to hit problems.
That doesn't mean that the build should fail because '.' is at the end
David Laight: email@example.com