aboutsummaryrefslogtreecommitdiffstats
path: root/debian/sitesummary.postinst
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 /debian/sitesummary.postinst
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.
Diffstat (limited to 'debian/sitesummary.postinst')
-rw-r--r--debian/sitesummary.postinst3
1 files changed, 3 insertions, 0 deletions
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#