The tpm2-tss package sets a default ACL on its keystore:
d /var/lib/tpm2-tss/system/keystore 2775 tss tss - -
a+ /var/lib/tpm2-tss/system/keystore - - - - default:group:tss:rwx
tmpfiles skipped the a+ line as unsupported, so what was created in
the keystore did not get the group access it relies on.
Add a and A, the latter recursive, with and without +. With + the
entries are added to the ACL of the path, without it they replace it.
The ACL is written to the system.posix_acl_access and _default
extended attributes in the format the kernel uses, which saves a
dependency on libacl. As with setfacl, the mask is made to cover the
named entries unless the entry sets one.
An ACL can have at most 32 entries. A path with more is left as it
is, with a warning.
Signed-off-by: Joachim Wiberg <troglobit@gmail.com>