/var/lib/softhsm/ is in softhsm-common 1.3.5-1ubuntu3.
This file is owned by root:root, with mode 0o755.