From owner-freebsd-security Tue Feb 27 07:07:29 1996 Return-Path: owner-security Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id HAA24577 for security-outgoing; Tue, 27 Feb 1996 07:07:29 -0800 (PST) Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.2.228.19]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id HAA24560 for ; Tue, 27 Feb 1996 07:07:17 -0800 (PST) Received: (from bde@localhost) by godzilla.zeta.org.au (8.6.12/8.6.9) id CAA03513; Wed, 28 Feb 1996 02:03:09 +1100 Date: Wed, 28 Feb 1996 02:03:09 +1100 From: Bruce Evans Message-Id: <199602271503.CAA03513@godzilla.zeta.org.au> To: msmith@comtch.iea.com, nlawson@kdat.csc.calpoly.edu Subject: Re: Suspicious symlinks in /tmp Cc: security@freebsd.org Sender: owner-security@freebsd.org Precedence: bulk >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