Bugtraq mailing list archives

Re: core symlinks


From: bet () std sbi com (Bennett Todd)
Date: Wed, 24 Aug 1994 16:04:27 -0400 (EDT)


Aleph One writes:
      It's been mentioned before that core dumps on
some systems may fallow symlink and that this can be used
to overwrite any file. I was wondering if anyone knows which
OS's and versions behave this way.

Well, here's one data point. I just tested under SunOS 4.1.1; a core dump
will follow a symlink, unless the symlink points to a file that the user
can't write, in which case no core will be dumped. I think this is
reasonable behavior.

-Bennett
bet () sbi com



Current thread: