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