cron "BAD FILE MODE"
Matthew Miller
mattdm at mattdm.org
Sun Feb 6 19:28:39 UTC 2005
On Sun, Feb 06, 2005 at 07:22:26PM +0000, Timothy Murphy wrote:
> ====================================
> Feb 6 16:06:51 martha crond[6266]: (*system*) BAD FILE MODE
> (/etc/cron.d/fetchmail.cron)
"File mode" is another word for permissions.
> ====================================
> in /var/log/cron when I add what seems
> a perfectly good 1-line file
> ====================================
> 5,15,25,35,45,55 * * * * tim /usr/bin/fetchmail alfred
> ====================================
> as /etc/cron.d/fetchmail.cron and restart crond.
If you do an ls -l on this file, what are the permissions? My guess is that
you've left it world-writable, but it's possible that cron is being really
picky and wants it to not group-writable either. In any case, do:
chmod 0644 /etc/cron.d/fetchmail.cron
and you should be all set.
--
Matthew Miller mattdm at mattdm.org <http://www.mattdm.org/>
--> Fedora Users & Developers Conference, hosted by Boston University <--
February 18th, 2005 <http://fedoraproject.org/fudcon/>
More information about the fedora-list
mailing list