Skip to content

ctime not consistently updated for xattr updates #3644

@riconnon

Description

@riconnon

When I create a file then add 2 ACLs to it using setfacl I get inconsistent updates of the ctime attribute.
I did the following:

zfs create tank/fs
zfs set xattr=sa tank
zfs set acltype=posixacl tank
touch /tank/fs/testfile
stat /tank/fs/testfile
setfacl -m u:user0:rwx /tank/fs/testfile
stat /tank/fs/testfile
setfacl -m u:user1:rwx /tank/fs/testfile
stat /tank/fs/testfile

I see the ctime changes between the first two stat outputs but not in the third.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions