Revert to sane symlink semantics. This is something we should have done

long ago.  Fixes many PRs.
This commit is contained in:
jtc 1996-02-07 17:01:25 +00:00
parent d9d402d0fb
commit b73662fea2
1 changed files with 2 additions and 5 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: ufs_vnops.c,v 1.12 1996/02/01 00:09:07 jtc Exp $ */
/* $NetBSD: ufs_vnops.c,v 1.13 1996/02/07 17:01:25 jtc Exp $ */
/*
* Copyright (c) 1982, 1986, 1989, 1993
@ -1947,10 +1947,7 @@ ufs_makeinode(mode, dvp, vpp, cnp)
}
ip = VTOI(tvp);
ip->i_gid = pdir->i_gid;
if ((mode & IFMT) == IFLNK)
ip->i_uid = pdir->i_uid;
else
ip->i_uid = cnp->cn_cred->cr_uid;
ip->i_uid = cnp->cn_cred->cr_uid;
#ifdef QUOTA
if ((error = getinoquota(ip)) ||
(error = chkiq(ip, 1, cnp->cn_cred, 0))) {