+# Set up permissions on the data dir
+sudo chown -R www-data data
+or, in my setup
+sudo chown -R httpd-evolution-events-nl:evolution-events-nl data
+
+# Perhaps also set up the sticky bit, if appropriate (for my setup, this is
+# mostly so the group still has read access).
+sudo chmod -R g+s data
+