Bugtraq mailing list archives

Re: Symlinks and Cryogenic Sleep


From: peak () ARGO TROJA MFF CUNI CZ (Pavel Kankovsky)
Date: Wed, 5 Jan 2000 21:32:48 +0100


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."


Current thread: