Upgrades complain about permission difference versus package

Description:

On a freshly installed system, /var/lib/libvirt/swtpm gains the permission of 755 from the package, but libvirt will once set the permissions to 710, or 711, I'm not sure which it does now, but the child folders are currently 711. Then pacman will complain about the permissions differing on every upgrade.

Additional info:

  • package version(s): 1:10.2.0-1

Steps to reproduce:

  1. Install libvirt on a new Arch install, alongside swtpm.
  2. Start it at least once and configure a virtual machine with a TPM device, software emulated.
  3. Observe the new permissions of /var/lib/libvirt/swtpm, or at least its subfolders.