SOURCES: logcheck-command_correct.patch - keep same permissions or...
glen
glen at pld-linux.org
Mon Oct 9 15:41:32 CEST 2006
Author: glen Date: Mon Oct 9 13:41:32 2006 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- keep same permissions original code had
---- Files affected:
SOURCES:
logcheck-command_correct.patch (1.2 -> 1.3)
---- Diffs:
================================================================
Index: SOURCES/logcheck-command_correct.patch
diff -u SOURCES/logcheck-command_correct.patch:1.2 SOURCES/logcheck-command_correct.patch:1.3
--- SOURCES/logcheck-command_correct.patch:1.2 Mon Oct 9 15:40:31 2006
+++ SOURCES/logcheck-command_correct.patch Mon Oct 9 15:41:27 2006
@@ -14,7 +14,7 @@
if [ -d $dir ]; then
if [ ! -d $cleaned ]; then
- mkdir $cleaned \
-+ install -d -m 755 $cleaned \
++ install -d $cleaned \
|| error "Could not make dir $cleaned for cleaned rulefiles."
fi
- for rulefile in $(run-parts --list $dir); do
@@ -36,7 +36,7 @@
# Get the list of log files from config file
# Handle log rotation correctly, idea taken from Wiktor Niesiobedzki.
-mkdir $TMPDIR/logoutput \
-+install -d -m 755 $TMPDIR/logoutput \
++install -d $TMPDIR/logoutput \
|| error "Could not mkdir for log files"
if [ ! $LOGFILE ] && [ -r $LOGFILES_LIST ]; then
for file in $(egrep --text -v "(^#|^[[:space:]]*$)" $LOGFILES_LIST); do
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SOURCES/logcheck-command_correct.patch?r1=1.2&r2=1.3&f=u
More information about the pld-cvs-commit
mailing list