SOURCES: logwatch.cron - set umask for cretion of reports

blues blues at pld-linux.org
Sat Nov 12 20:09:56 CET 2005


Author: blues                        Date: Sat Nov 12 19:09:55 2005 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- set umask for cretion of reports

---- Files affected:
SOURCES:
   logwatch.cron (1.1 -> 1.2) 

---- Diffs:

================================================================
Index: SOURCES/logwatch.cron
diff -u SOURCES/logwatch.cron:1.1 SOURCES/logwatch.cron:1.2
--- SOURCES/logwatch.cron:1.1	Fri Feb 25 15:25:17 2005
+++ SOURCES/logwatch.cron	Sat Nov 12 20:09:50 2005
@@ -12,6 +12,7 @@
 
 #---{ main part }---#
 if [ "${OUTPUT_LOCATION}" ]; then
+	umask 0022
 	nice -n ${NICE_LEVEL} /usr/sbin/logwatch --output=${OUTPUT} --save="${OUTPUT_LOCATION}/${DATA}.html"
 else
 	nice -n ${NICE_LEVEL} /usr/sbin/logwatch --output=${OUTPUT}
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SOURCES/logwatch.cron?r1=1.1&r2=1.2&f=u




More information about the pld-cvs-commit mailing list