/var/lib/galette/photos/ is in galette 0.8+dfsg-1ubuntu1.
This file is owned by www-data:root, with mode 0o755.