Date: Fri, 24 Jan 1997 11:50:33 -0800 From: David Greenman <dg@root.com> To: robin@intercore.com (Robin Cutshaw) Cc: current@freebsd.org Subject: Re: 3.0 SNAP+SMP permission problems Message-ID: <199701241950.LAA01817@root.com> In-Reply-To: Your message of "Fri, 24 Jan 1997 09:23:36 EST." <199701241423.JAA01954@intercore.com>
next in thread | previous in thread | raw e-mail | index | archive | help
>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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199701241950.LAA01817>