[Bug 293691] NFSv4.1 client trying to set |FATTR4_ARCHIVE| gets EPERM for file/dir creation attempts

[email protected]
Newsgroups gmane.os.freebsd.devel.file-systems
Message-ID <[email protected]/bugzilla/>
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=293691

Rick Macklem <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Assignee|[email protected]              |[email protected]

--- Comment #2 from Rick Macklem <[email protected]> ---
Created attachment 268667
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=268667&action=edit
nfs_nfsdserv.c: Fix handling of archive flag for mkdir, mknod, symlink

This patch should fix the problem.
I think you'll find Open/Create already
works for "archive" if you have a FreeBSD
server based on main (FreeBSD16).
(I don't think archive support made it in
FreeBSD-15.0.)

If the reporter can test this fix, that
would be nice.

I will be committing this patch to main soon
and MFC'ng it in time for FreeBSD-15.1.

-- 
You are receiving this mail because:
You are the assignee for the bug.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.