Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 28 Feb 1996 02:03:09 +1100
From:      Bruce Evans <bde@zeta.org.au>
To:        msmith@comtch.iea.com, nlawson@kdat.csc.calpoly.edu
Cc:        security@freebsd.org
Subject:   Re: Suspicious symlinks in /tmp
Message-ID:  <199602271503.CAA03513@godzilla.zeta.org.au>

next in thread | raw e-mail | index | archive | help
>However, the bug that I have seen for quite a while and complained about is
>that a symlink is owned by the owner of the file it points to, not by the
>creator of the symlink.  That is a bad idea and I really can't see the logic
>behind doing that.

>Could someone explain this behavior?

The symlink is owned by the owner of its parent directory.

I think this is to conform to future POSIX standards.  Many other things
involving symlinks changed in 4.4lite.  See `man 7 symlink'.

Bruce



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199602271503.CAA03513>