aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPetter Reinholdtsen <pere@hungry.com>2006-08-28 16:20:38 +0000
committerPetter Reinholdtsen <pere@hungry.com>2006-08-28 16:20:38 +0000
commit235a3e1ac485c6a5f75254c86ee7220a02e80742 (patch)
tree46d7996e42742d07abeb281e05b9b7fd32f76e93
parentb940eb0f0abaa906902055e7952d2a1915fcf683 (diff)
downloadsitesummary-235a3e1ac485c6a5f75254c86ee7220a02e80742.tar.gz
sitesummary-235a3e1ac485c6a5f75254c86ee7220a02e80742.tar.bz2
sitesummary-235a3e1ac485c6a5f75254c86ee7220a02e80742.tar.xz
* Try to create the directories in /var/lib/sitesummary/ with www-data
as the owner, to allow the cgi script to write into them.
-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