https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=292283
Rick Macklem <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|[email protected] |[email protected] CC| |[email protected] Status|New |Open --- Comment #1 from Rick Macklem <[email protected]> --- Created attachment 266952 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=266952&action=edit Fix for NFSv4.n client specifying hidden/system during file creation The problem seems to be caused by ZFS calling secpolicy_xvattr() when any va_flags bit (which includes UF_HIDDEN and UF_SYSTEM) is specified for VOP_CREATE(). specpolicy_xvattr() returns EPERM for non-root, which is good, because if the code is patched to allow it, ZFS panics. This patch avoids the problem by disabling the va_flags field for VOP_CREATE() and then setting the va_flags bits via VOP_SETATTR() after the VOP_CREATE(), for the NFSv4.n server. -- You are receiving this mail because: You are the assignee for the bug.
