PERFORCE change 153305 for review
Edward Tomasz Napierala
trasz at FreeBSD.org
Fri Nov 21 12:22:57 PST 2008
http://perforce.freebsd.org/chv.cgi?CH=153305
Change 153305 by trasz at 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;
More information about the p4-projects
mailing list