/var/lib/softhsm/ is in softhsm2-common 2.2.0-3.1build1.
This file is owned by root:root, with mode 0o755.