From owner-freebsd-current Fri Jan 24 11:50:34 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id LAA15530 for current-outgoing; Fri, 24 Jan 1997 11:50:34 -0800 (PST) Received: from root.com (implode.root.com [198.145.90.17]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id LAA15524 for ; Fri, 24 Jan 1997 11:50:31 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by root.com (8.7.6/8.6.5) with SMTP id LAA01817; Fri, 24 Jan 1997 11:50:33 -0800 (PST) Message-Id: <199701241950.LAA01817@root.com> X-Authentication-Warning: implode.root.com: Host localhost [127.0.0.1] didn't use HELO protocol To: robin@intercore.com (Robin Cutshaw) cc: current@freebsd.org Subject: Re: 3.0 SNAP+SMP permission problems In-reply-to: Your message of "Fri, 24 Jan 1997 09:23:36 EST." <199701241423.JAA01954@intercore.com> From: David Greenman Reply-To: dg@root.com Date: Fri, 24 Jan 1997 11:50:33 -0800 Sender: owner-current@freebsd.org X-Loop: FreeBSD.org Precedence: bulk >I just loaded the 3.0 SNAP and added SMP. When I create a file in /tmp, >it gets the wrong owner/group. Here's a sample: > > >free2cpu:util $ id >uid=10290(robin) gid=20(staff) groups=20(staff), 0(wheel) >free2cpu:util $ ln -s . /tmp/XXX >free2cpu:util $ ls -l /tmp/XXX >lrwxrwxrwt 1 bin bin 1 Jan 24 04:25 /tmp/XXX -> . >free2cpu:util $ rm /tmp/XXX >rm: /tmp/XXX: Operation not permitted >free2cpu:util $ touch /tmp/xxx >free2cpu:util $ ls -l /tmp/xxx >-rw-rw-r-- 1 robin bin 0 Jan 24 04:26 /tmp/xxx That's a "feature" of 4.4BSD and has nothing to do with SMP. The symlink takes on the ownership/permissions of the directory it is created it. NetBSD already reverted to the historic behavior, and we should, too. -DG David Greenman Core-team/Principal Architect, The FreeBSD Project