bug-bash
[Top][All Lists]
Advanced

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

Re: [POSIX conformance] "." looks for file in the current directory


From: Andreas Schwab
Subject: Re: [POSIX conformance] "." looks for file in the current directory
Date: Tue, 10 Jun 2008 11:20:54 +0200
User-agent: Gnus/5.110009 (No Gnus v0.9) Emacs/22.2 (gnu/linux)

Stephane_Chazelas@yahoo.fr writes:

> SUSv3> Some older implementations searched the current directory
> SUSv3> for the file, even if the value of PATH disallowed it. This
> SUSv3> behavior was omitted from this volume of IEEE Std
> SUSv3> 1003.1-2001 due to concerns about introducing the
> SUSv3> susceptibility to trojan horses that the user might be
> SUSv3> trying to avoid by leaving dot out of PATH .

Ironically, the example just before the rationale depends exactly on
finding the file in the current directory.

Andreas.

-- 
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
PGP key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."




reply via email to

[Prev in Thread] Current Thread [Next in Thread]