OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
Bugtraq Archives: Re: Symlinks and Cryogenic Sleep

Re: Symlinks and Cryogenic Sleep


Subject: Re: Symlinks and Cryogenic Sleep
From: Pavel Kankovsky (peakARGO.TROJA.MFF.CUNI.CZ)
Date: Wed Jan 05 2000 - 14:32:48 CST


On Mon, 3 Jan 2000, Olaf Kirch wrote:

> when you're dealing with files in /tmp that are supposed to be re-opened
> (rather than opened once and then discarded) there's an established
> way to do it which goes like this:

The problem lies in the premises: these files should not be stored in
/tmp. If you insist on putting them under /tmp for whatever reason, you
should use an intermediate diractory:

  mkdir /tmp/mydir
  cd /tmp/mydir || exit 1
  check whether . is ok
  play with files here

--Pavel Kankovsky aka Peak [ Boycott Microsoft--http://www.vcnet.com/bms ]
"Resistance is futile. Open your source code and prepare for assimilation."



This archive was generated by hypermail 2b27 : Fri Jan 07 2000 - 16:13:15 CST