summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenjamin Smee <strerror@gentoo.org>2005-10-10 00:53:56 +0000
committerBenjamin Smee <strerror@gentoo.org>2005-10-10 00:53:56 +0000
commit632514903fc1f2cbd2503bee2908584badc762b5 (patch)
tree714040a478c5dcc5e4270d934620b699e2cc2673 /net-analyzer/sguil-sensor/files
parentMarked stable on amd64. Closes bug #108508. (diff)
downloadgentoo-2-632514903fc1f2cbd2503bee2908584badc762b5.tar.gz
gentoo-2-632514903fc1f2cbd2503bee2908584badc762b5.tar.bz2
gentoo-2-632514903fc1f2cbd2503bee2908584badc762b5.zip
added fix for log_packets.initd
(Portage version: 2.0.51.22-r3)
Diffstat (limited to 'net-analyzer/sguil-sensor/files')
-rw-r--r--net-analyzer/sguil-sensor/files/log_packets.initd3
1 files changed, 2 insertions, 1 deletions
diff --git a/net-analyzer/sguil-sensor/files/log_packets.initd b/net-analyzer/sguil-sensor/files/log_packets.initd
index db9ae1000490..5bab23c1d295 100644
--- a/net-analyzer/sguil-sensor/files/log_packets.initd
+++ b/net-analyzer/sguil-sensor/files/log_packets.initd
@@ -1,7 +1,7 @@
#!/sbin/runscript
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/sguil-sensor/files/log_packets.initd,v 1.2 2005/10/09 13:54:39 strerror Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/sguil-sensor/files/log_packets.initd,v 1.3 2005/10/10 00:53:56 strerror Exp $
opts="start stop cleandisk"
@@ -29,6 +29,7 @@ start() {
then
mkdir "${LOG_DIR}/${today}"
chmod 770 "${LOG_DIR}/${today}"
+ chown root:sguil "${LOG_DIR}/${today}"
fi
start-stop-daemon --start --quiet -b -m --pidfile /var/run/sguil/logpackets.pid \
--exec /usr/bin/snort \