#989867 tpm-udev: Tighten permissions of /var/lib/tpm

#989867#5
Date:
2021-06-14 22:42:31 UTC
From:
To:
Hello,

It looks like trousers daemon is checking the permissions of
/var/lib/tpm on startup.

If the permission is not correct, the daemon will try to correct them,
the logs show:

TrouSerS resetting mode of /var/lib/tpm from 40755 to: 700

Maybe the tpm-udev package should chown /var/lib/tpm to 700 out of the
box instead of letting the daemon do it?

Not sure what are the other users of that directory expecting

Kind regards,
Laurent Bigonville