diff options
author | Petter Reinholdtsen <pere@hungry.com> | 2006-10-04 07:48:23 +0000 |
---|---|---|
committer | Petter Reinholdtsen <pere@hungry.com> | 2006-10-04 07:48:23 +0000 |
commit | d4e28b381d087eca3c4321a495862ab9fcb7daa5 (patch) | |
tree | 7df0cb56d2ed8326d8abebe61a4d77395fa8d99d | |
parent | c72d2bb34c045394f19befa3073f3eba71f5b4e5 (diff) | |
download | sitesummary-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/changelog | 4 | ||||
-rw-r--r-- | debian/sitesummary.postinst | 3 |
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# |