NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

using /etc/cron.d



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


Home | Main Index | Thread Index | Old Index