From owner-freebsd-security Tue Feb 27 21:01:45 1996 Return-Path: owner-security Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id VAA12451 for security-outgoing; Tue, 27 Feb 1996 21:01:45 -0800 (PST) Received: from who.cdrom.com (who.cdrom.com [192.216.222.3]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id VAA12446 for ; Tue, 27 Feb 1996 21:01:44 -0800 (PST) Received: from GndRsh.aac.dev.com ([198.145.92.241]) by who.cdrom.com (8.6.12/8.6.11) with ESMTP id VAA21897 for ; Tue, 27 Feb 1996 21:01:40 -0800 Received: (from rgrimes@localhost) by GndRsh.aac.dev.com (8.6.12/8.6.12) id UAA16688; Tue, 27 Feb 1996 20:49:37 -0800 From: "Rodney W. Grimes" Message-Id: <199602280449.UAA16688@GndRsh.aac.dev.com> Subject: Re: Suspicious symlinks in /tmp To: davidg@Root.COM Date: Tue, 27 Feb 1996 20:49:37 -0800 (PST) Cc: bde@zeta.org.au, msmith@comtch.iea.com, nlawson@kdat.csc.calpoly.edu, security@freebsd.org In-Reply-To: <199602271646.IAA07339@Root.COM> from "David Greenman" at Feb 27, 96 08:46:14 am X-Mailer: ELM [version 2.4 PL24] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit 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'. > > NetBSD recently went back to the previous/traditional behavior for > symlinks. I think we should too - the "new" model is incompatible with > sticky bit directories. I wish we would have done this last time this discussion came up, I think it is way past due. -- Rod Grimes rgrimes@gndrsh.aac.dev.com Accurate Automation Company Reliable computers for FreeBSD