Should we hide xattr "Security.NTACL" from EA API calls? #513
Replies: 2 comments 2 replies
-
|
(I don't use NT ACLs yet, so this is just my 2 cents)
Cool documentation tip. (1) Is the mapping format described somewhere? Also* (2) does the mapping take into account the original owner and owning group IDs and permissions?
On *nix yes, OpenZFS driver should care about reporting the Unix permissions.
Ummm, it might be that my English is too bad, but ... I don't get this part. Could you rephrase it in more specific way, please?
Is this even true? IOW, could something really break due to particular EA size/ordering, really?
Here I agree with ChatGPT. I would just try to filter out these specifics EA conditionally – only when mimicking NTFS. |
Beta Was this translation helpful? Give feedback.
-
|
ZFS is a Unix filesystem with File owner a uid/gid, with rwx permissions and optionally Posix (NFSv4) ACL Does this mean that there is no problem moving a pool from/to Free-BSD/Linux/OSX/Windows |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
OpenZFS stores the Windows produced Security blobs in xattrs, as it is a convenience place to store them. So far I haven't "hidden" them when you iterate EAs on objects, NTFS wouldn't show them, since they are not EAs, but Security Descriptors.
I haven't done that since I can not make any particular guarantees towards Windows Security. You might set a Directory to only be readable by $user, but mount the pool under Unix system, and the NTACL is irrelevant. To OpenZFS, the Unix permissions is what matters. Obviously, using the pool under another OS is a lot more work than "deleting an EA as a regular user" to get around it.
ChatGPT swings in the other direction with:
So let's throw the question out there to people who perhaps intend to use NTACL to control access to their data.. strong opinion either way?
Beta Was this translation helpful? Give feedback.
All reactions