Re: cron "BAD FILE MODE"

From: Timothy Murphy (tim_at_birdsnest.maths.tcd.ie)
Date: 02/08/05

  • Next message: D. D. Brierton: "Re: Is httpd in FC3 chrooted???"
    To: fedora-list@redhat.com
    Date: Tue, 08 Feb 2005 13:27:23 +0000
    
    

    Matthew Miller 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

    Thanks, that did indeed solve the problem.
    I'm slightly baffled, as I had what I thought was exactly the same setup
    on another identical machine and it seemed to work fine.
    However, that is one of the many computer mysteries in my life ...

    -- 
    Timothy Murphy  
    e-mail (<80k only): tim /at/ birdsnest.maths.tcd.ie
    tel: +353-86-2336090, +353-1-2842366
    s-mail: School of Mathematics, Trinity College, Dublin 2, Ireland
    -- 
    fedora-list mailing list
    fedora-list@redhat.com
    To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list
    

  • Next message: D. D. Brierton: "Re: Is httpd in FC3 chrooted???"

    Relevant Pages

    • Re: SICK OF STUPID OWNERSHIP RULES!!
      ... Apparently you have forgotten that life is the best teacher ... Here are the official rules for posting to the Fedora list: ... > permissions, ... mature computing platform environments, including windows. ...
      (Fedora)
    • Re: Exchange 2003 Public Calendar
      ... I can't for the life of me remember how I ... found the permissions for individual contacts though. ... the calendars some people can not see some of the appointment while others ... I have checked permissions on public folder and the default is set to ...
      (microsoft.public.exchange.clients)
    • Move mailbox from Exchange 2003 to Exchange 2007
      ... I have tried this but it still didn't work, I must have a block somewhere but cannot for the life of me find it. ... Is there a way to put the permissions to defualt somehow? ... EggHeadCafe - .NET Developer Portal of Choice ...
      (microsoft.public.exchange.setup)
    • Move mailbox from Exchange 2003 to Exchange 2007
      ... I have tried this but it still didn't work, I must have a block somewhere but cannot for the life of me find it. ... Is there a way to put the permissions to defualt somehow? ... EggHeadCafe - .NET Developer Portal of Choice ...
      (microsoft.public.exchange.setup)