summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Palfrader <peter@palfrader.org>2008-01-21 15:03:33 +0000
committerPeter Palfrader <peter@palfrader.org>2008-01-21 15:03:33 +0000
commita4a802d31fd4f26811245ad3b0e45bc080bd96e0 (patch)
tree3bff2e9e1177a6bc16d99fdd2fe080afa5203bb8
parent17d711e25803e996280080b48c7ce64fb832fa80 (diff)
downloadtor-a4a802d31fd4f26811245ad3b0e45bc080bd96e0.tar.gz
tor-a4a802d31fd4f26811245ad3b0e45bc080bd96e0.zip
Create logfiles in logrotate so that they come into the world with the correct
mode (o-r). svn:r13209
-rw-r--r--debian/changelog4
-rw-r--r--debian/tor.logrotate1
2 files changed, 4 insertions, 1 deletions
diff --git a/debian/changelog b/debian/changelog
index 27792eaede..0a758da937 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -15,8 +15,10 @@ tor (0.2.0.17-alpha-1+svn) experimental; urgency=low
* postinst: if we reboot between unpacking and configuring on some smart
systems this will mean that we just lost /var/run/tor - creating it
in the maintainer script if it doesn't exist.
+ * Create logfiles in logrotate so that they come into the world with the
+ correct mode (o-r).
- -- Peter Palfrader <weasel@debian.org> Mon, 21 Jan 2008 15:59:54 +0100
+ -- Peter Palfrader <weasel@debian.org> Mon, 21 Jan 2008 16:03:06 +0100
tor (0.2.0.17-alpha-1) experimental; urgency=low
diff --git a/debian/tor.logrotate b/debian/tor.logrotate
index 1d3d3a4af8..6e73fee344 100644
--- a/debian/tor.logrotate
+++ b/debian/tor.logrotate
@@ -5,6 +5,7 @@
delaycompress
missingok
notifempty
+ create 0640 debian-tor adm
sharedscripts
postrotate
/etc/init.d/tor reload > /dev/null