Date: Fri, 24 Jan 1997 19:48:19 -0500 From: robin@intercore.com (Robin Cutshaw) To: dg@root.com Cc: robin@intercore.com (Robin Cutshaw), current@freebsd.org Subject: Re: 3.0 SNAP+SMP permission problems Message-ID: <199701250048.TAA02886@intercore.com> In-Reply-To: <199701241950.LAA01817@root.com>; from David Greenman on Jan 24, 1997 11:50:33 -0800 References: <199701241423.JAA01954@intercore.com> <199701241950.LAA01817@root.com>
next in thread | previous in thread | raw e-mail | index | archive | help
David Greenman writes:
> >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.
>
Don't think that's right. You cannot delete a symlink that you create?
Also, how do you explain the group permission on the regular file?
robin
--
----
Robin Cutshaw internet: robin@interlabs.com robin@intercore.com
Internet Labs, Inc. BellNet: 404-817-9787
"Time is just one damn thing after another" -- PBS/Nova
----
--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199701250048.TAA02886>
