From owner-cvs-sys Mon Mar 31 04:03:09 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id EAA12803 for cvs-sys-outgoing; Mon, 31 Mar 1997 04:03:09 -0800 (PST) Received: (from peter@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id EAA12794; Mon, 31 Mar 1997 04:03:06 -0800 (PST) Date: Mon, 31 Mar 1997 04:03:06 -0800 (PST) From: Peter Wemm Message-Id: <199703311203.EAA12794@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/kern vfs_syscalls.c src/sys/ufs/ufs ufs_lookup.c ufs_vnops.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk peter 97/03/31 04:03:04 Modified: sys/kern vfs_syscalls.c sys/ufs/ufs ufs_lookup.c ufs_vnops.c Log: Treat symlinks as first class citizens with their own uid/gid rather than as shadows of their containing directory. This should solve the problem of users not being able to delete their symlinks from /tmp once and for all. Symlinks do not have modes though, they are accessable to everything that can read the directory (as before). They are made to show this fact at lstat time (they appear as mode 0777 always, since that's how the the lookup routines in the kernel treat them). More commits will follow, eg: add a real lchown() syscall and man pages. Revision Changes Path 1.62 +19 -70 src/sys/kern/vfs_syscalls.c 1.14 +1 -2 src/sys/ufs/ufs/ufs_lookup.c 1.49 +2 -5 src/sys/ufs/ufs/ufs_vnops.c