aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--debian/changelog4
-rw-r--r--debian/sitesummary.postinst3
2 files changed, 7 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
index 24d7d43..292cf97 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -5,6 +5,10 @@ sitesummary (0.0.12) unstable; urgency=low
without usb support, among other things.
* Modify client script to ignore non-true exit codes from the
collector fragments.
+ * Modify the sitesummary postinst script to make sure
+ /var/lib/sitesummary/tmpstorage and /var/lib/sitesummary/entries
+ are owned by user www-data. This give the cgi-script write access
+ to the storage area.
-- Petter Reinholdtsen <pere@debian.org> Wed, 4 Oct 2006 09:43:02 +0200
diff --git a/debian/sitesummary.postinst b/debian/sitesummary.postinst
index fed549c..84b3f88 100644
--- a/debian/sitesummary.postinst
+++ b/debian/sitesummary.postinst
@@ -8,4 +8,7 @@ if [ -f /etc/apache2/sites-available/sitesummary ]; then
rm /etc/apache2/sites-available/sitesummary
fi
+# Make sure the cgi script can write to the storage area
+chown www-data /var/lib/sitesummary/tmpstorage /var/lib/sitesummary/entries
+
#DEBHELPER#