aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile3
-rw-r--r--debian/changelog2
-rw-r--r--debian/sitesummary.dirs2
3 files changed, 5 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index b75672f..36c6c2f 100644
--- a/Makefile
+++ b/Makefile
@@ -38,6 +38,9 @@ install-server:
$(INSTALL) -d $(DESTDIR)/etc/apache2/sites-available/
$(INSTALL_DATA) apache.conf $(DESTDIR)/etc/apache2/sites-available/sitesummary
+ $(INSTALL) -o www-data -d $(DESTDIR)/var/lib/sitesummary/entries
+ $(INSTALL) -o www-data -d $(DESTDIR)/var/lib/sitesummary/tmpstorage
+
install-client:
$(INSTALL) -d $(DESTDIR)$(sbindir)
$(INSTALL) sitesummary-client sitesummary-upload $(DESTDIR)$(sbindir)
diff --git a/debian/changelog b/debian/changelog
index b5b5b77..c00a322 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -5,6 +5,8 @@ sitesummary (0.0.5) UNRELEASED; urgency=low
* Collect output from lsusb and lsscsi if they are present.
* Drop wget as dependency for sitesummary-client. It is no longer used.
* Include apache2 example configuration.
+ * Try to create the directories in /var/lib/sitesummary/ with www-data
+ as the owner, to allow the cgi script to write into them.
[ Steffen Joeris ]
* Update debian/copyright file
diff --git a/debian/sitesummary.dirs b/debian/sitesummary.dirs
deleted file mode 100644
index fe0100f..0000000
--- a/debian/sitesummary.dirs
+++ /dev/null
@@ -1,2 +0,0 @@
-/var/lib/sitesummary/entries
-/var/lib/sitesummary/tmpstorage