Date: Fri, 21 Nov 2008 20:22:56 GMT From: Edward Tomasz Napierala <trasz@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 153305 for review Message-ID: <200811212022.mALKMuem080470@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=153305 Change 153305 by trasz@trasz_victim7 on 2008/11/21 20:22:28 Reduce differences in semantincs between ZFS and UFS even more by returning EPERM instead of EACCES when the permission denied was DELETE or DELETE_CHILD. Affected files ... .. //depot/projects/soc2008/trasz_nfs4acl/sys/kern/subr_acl_nfs4.c#36 edit Differences ... ==== //depot/projects/soc2008/trasz_nfs4acl/sys/kern/subr_acl_nfs4.c#36 (text+ko) ==== @@ -256,7 +256,7 @@ return (0); } - if (accmode & VADMIN_PERMS) + if (accmode & (VADMIN_PERMS | VDELETE_CHILD | VDELETE)) denied = EPERM; else denied = EACCES;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200811212022.mALKMuem080470>