SOURCES: vixie-cron-crond.patch - fix for file mode for files in /...

prism prism at pld-linux.org
Mon Jul 25 13:12:52 CEST 2005


Author: prism                        Date: Mon Jul 25 11:12:52 2005 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- fix for file mode for files in /etc/cron.d (0600->0640)

---- Files affected:
SOURCES:
   vixie-cron-crond.patch (1.7 -> 1.8) 

---- Diffs:

================================================================
Index: SOURCES/vixie-cron-crond.patch
diff -u SOURCES/vixie-cron-crond.patch:1.7 SOURCES/vixie-cron-crond.patch:1.8
--- SOURCES/vixie-cron-crond.patch:1.7	Mon Jul 25 12:38:54 2005
+++ SOURCES/vixie-cron-crond.patch	Mon Jul 25 13:12:47 2005
@@ -97,6 +97,15 @@
  	/* we used to keep this dir open all the time, for the sake of
  	 * efficiency.  however, we need to close it in every fork, and
  	 * we fork a lot more often than the mtime of the dir changes.
+@@ -263,7 +263,7 @@
+ 		log_it(fname, getpid(), "NOT REGULAR", tabname);
+ 		goto next_crontab;
+ 	}
+-	if ((statbuf->st_mode & 07777) != 0600) {
++	if ((statbuf->st_mode & 07777) != 0640) {
+ 		log_it(fname, getpid(), "BAD FILE MODE", tabname);
+ 		goto next_crontab;
+ 	}
 diff -uNr vixie-cron-4.1.p7/FEATURES vixie-cron-4.1/FEATURES
 --- vixie-cron-4.1.p7/FEATURES	2005-07-23 12:40:30.000000000 +0200
 +++ vixie-cron-4.1/FEATURES	2005-07-24 22:35:17.000000000 +0200
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SOURCES/vixie-cron-crond.patch?r1=1.7&r2=1.8&f=u




More information about the pld-cvs-commit mailing list