/var/lib/nagios3/rw/ is in nagios3-common 3.2.3-3ubuntu1.
This file is owned by root:root, with mode 0o755.