/var/cache/mod_gridsite/ is in gridsite 2.0.4-3.2.
This file is owned by www-data:www-data, with mode 0o755.