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
On Fri, Jan 16, 2015 at 12:10 PM, matthew sporleder
wrote:
> 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
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))