aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPetter Reinholdtsen <pere@hungry.com>2006-10-04 07:48:23 +0000
committerPetter Reinholdtsen <pere@hungry.com>2006-10-04 07:48:23 +0000
commitd4e28b381d087eca3c4321a495862ab9fcb7daa5 (patch)
tree7df0cb56d2ed8326d8abebe61a4d77395fa8d99d
parentc72d2bb34c045394f19befa3073f3eba71f5b4e5 (diff)
downloadsitesummary-d4e28b381d087eca3c4321a495862ab9fcb7daa5.tar.gz
sitesummary-d4e28b381d087eca3c4321a495862ab9fcb7daa5.tar.bz2
sitesummary-d4e28b381d087eca3c4321a495862ab9fcb7daa5.tar.xz
* 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.
-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#