Hi,
On 2024/3/21 11:47, Zhihao Cheng wrote:
在 2024/3/20 0:16, Li Zetao 写道:Thanks for the reviews, but this is inconsistent with my understanding.
There are two scenarios where ACL needs to be updated, the first onebtrfs) support it, except xfs.
is when creating the inode, and the second one is in the chmod process.
When creating directories/files/device node/tmpfile, ACLs needs to be
initialized, but symlink do not.Why not support symlink? It looks like many filesystems(eg. ext4, f2fs,
I think most file systems in Linux do not support it, because most file systems do not register the get/set functions of ACLs for symlink operations. And the posix_acl_create() will determine that it is a symlink type inode, and then skip the creation process. But except for bcachefs, it may be to solve the problem of certain scenarios, so it would be nice if anyone could explain it to us.