Date: Tue, 30 May 2023 08:46:57 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 271704] O_PATH and acl_get_fd_np doesn't work on FreeBSD 13(.2) and causes vfs_zfsacl in Samba to fail Message-ID: <bug-271704-227-TXjceIEXXU@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-271704-227@https.bugs.freebsd.org/bugzilla/> References: <bug-271704-227@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D271704 --- Comment #5 from Peter Eriksson <pen@lysator.liu.se> --- Did a quick test with Samba and a FreeBSD 13.2-RELEASE kernel modified with= the fix for acl_get_fd and now I can create new directories and read the ACL of= it. But attempting to modify the ACL from a Windows 10 client fails with: > An error occured while applying security information to: >=20 > T:\}foo >=20 > The handle is invalid. As a test I modified the kernel a bit more and made similar changes to acl_set_fd and acl_delete_fd and now it works to update the ACL from the Windows client. So as the Samba code works today it looks like it needs to be update ACLs v= ia O_PATH-opened file descriptors. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-271704-227-TXjceIEXXU>