[Bug 271704] O_PATH and acl_get_fd_np doesn't work on FreeBSD 13(.2) and causes vfs_zfsacl in Samba to fail
Date: Mon, 29 May 2023 18:09:22 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=271704 --- Comment #3 from Peter Eriksson <pen@lysator.liu.se> --- (In reply to Mark Johnston from comment #2) Good question. I don't know yet... (I'm not really that familiar in all the inner workings on Sambas new VFS layer where this magic is done). I have opened a case in the Samba bugzilla too btw. No response so far though. https://bugzilla.samba.org/show_bug.cgi?id=15376 But anyway I think it would be nice if FreeBSD allowed reading the ACL list at least (if the parent directory access allows it?) As a workaround in Samba I replaced a couple of #ifdef O_PATH with #if defined(O_PATH) && defined(LINUX) so another code path in Samba is used (for systems without O_PATH, but since the O_PATH-path is more efficient it would be nice if it could be used :-) -- You are receiving this mail because: You are the assignee for the bug.