Re: using /etc/cron.d

2015-01-17 Thread Jeremy C. Reed
On Fri, 16 Jan 2015, matthew sporleder wrote: Okay it looks like modes 400 and 600 work The manpage should be updated for this. Or I prefer maybe we should fix it. The process_crontab code could be modified so /etc/cron.d/ follows the same mode rules as /etc/crontab. I think the crontab.5

using /etc/cron.d

2015-01-16 Thread matthew sporleder
I was attempting to put a cron file in /etc/cron.d today and could not figure out how to not get this message: (*system*) BAD FILE MODE (/etc/cron.d/github-pull) That appears to be coming from if ((eqmode (statbuf-st_mode 07577) != eqmode) || (badmode (statbuf-st_mode badmode) != 0)) Isn't