On Fri, Jan 16, 2015 at 12:10 PM, matthew sporleder <[email protected]> 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 & 07577) != eqmode) || > (badmode && (statbuf->st_mode & badmode) != 0)) > > Isn't 07577 too many digits? > > --- > > Also I was having trouble getting crond to pick up my changes unless I > did a touch of the /etc/cron.d directory (not just the file I was > editing); > > Any ideas? > > Thanks, > Matt
Okay it looks like modes 400 and 600 work
