Details
-
Bug
-
Resolution: Unresolved
-
Medium
-
None
-
None
-
None
-
3
-
9223372036854775807
Description
Adding, modifying, or deleting a file’s ACLs does not generate a XATTR changelogs. Only a a CTIME changelog is generated when ACLs are added to a file. However, for default ACLs, this works correctly.
Here is an example:
$ touch /mnt/lustre/file $ mkdir /mnt/lustre/dir $ lctl --device lustre-MDT0000 changelog_register $ setfacl -m u:root:r /mnt/lustre/file $ setfacl -d -m u:root:r /mnt/lustre/dir $ lfs changelog lustre-MDT0000 9 18CTIME 13:55:42.524126315 2026.01.28 0x4 t=[0x200000401:0x3:0x0] j=setfacl.0 ef=0xf u=0:0 nid=0@lo 10 15XATTR 13:55:50.350061752 2026.01.28 0x0 t=[0x200000401:0x4:0x0] j=setfacl.0 ef=0xf u=0:0 nid=0@lo x=system.posix_acl_default $ lfs path2fid /mnt/lustre/dir /mnt/lustre/file /mnt/lustre/dir: [0x200000401:0x4:0x0] /mnt/lustre/file: [0x200000401:0x3:0x0]