diff options
| author | Rick Macklem <rmacklem@FreeBSD.org> | 2026-03-16 23:22:37 +0000 |
|---|---|---|
| committer | Rick Macklem <rmacklem@FreeBSD.org> | 2026-03-31 01:05:42 +0000 |
| commit | cea122acd9beeae5a815733614a77acd60a87899 (patch) | |
| tree | c712707c7e8c4f9797e816a69fb1ed13dde2d832 /lib/libc/gen/getbootfile.3 | |
| parent | 5b8ab97b3e4abd3df9cee11d61115479fe2fc4de (diff) | |
nfs_nfsdserv.c: Fix handling of archive flag for mkdirstable/15
An NFSv4.1/4.2 client can set/clear the archive, hidden
and system flags when creating non-regular files, such
as directories.
Without this patch, the setting of va_flags causes an
EPERM failure, since they are specified for VOP_MKDIR(),
VOP_MKNOD() and VOP_SYMLINK().
This patch sets va_flags == VNOVAL for the above VOP_xxx()
calls and then sets/clears the flags after creation,
which fixes the problem.
This bug only affects the Windows NFSv4.1/4.2 client.
PR: 293691
(cherry picked from commit 6580d040861dfbf6c630a93cbf41f2a2c7e7b327)
Diffstat (limited to 'lib/libc/gen/getbootfile.3')
0 files changed, 0 insertions, 0 deletions
