Re: [SLE] ntp permissions

From: David T-G (davidtg-suse-linux-e_at_justpickone.org)
Date: 07/23/03

  • Next message: Richard: "Re: [SLE] firewall blocking ntp"
    Date: Wed, 23 Jul 2003 08:07:58 -0400
    To: "SuSE Linux (English) list" <suse-linux-e@suse.com>
    
    
    

    Mike --

    ...and then Mike said...
    %
    %
    % I've run chmod +666 * and chown ntp and things get reset and I keep getting
    % this error.

    Don't, don't, don't just blindly use "666" with chmod until you know what
    it does. Read the man page and use the symbolic modes.

    %
    %
    % >From the log file:
    % linux ntpd[983]: can't open /etc/ntp/drift.TEMP: Permission denied
    %
    % >From /etc/ntp:
    % drw-rw-rw- 2 ntp root 84 2003-07-21 18:27 .

    There's your problem. Try a

      chmod a+x /etc/ntp

    to put it back to a usable state. You might also try

      chmod -R go-w /etc/ntp

    to uninvite the entire world from writing there.

    HTH & HAND

    :-D

    -- 
    David T-G                      * There is too much animal courage in 
    (play) davidtg@justpickone.org * society and not sufficient moral courage.
    (work) davidtgwork@justpickone.org  -- Mary Baker Eddy, "Science and Health"
    http://justpickone.org/davidtg/      Shpx gur Pbzzhavpngvbaf Qrprapl Npg!
    
    



  • Next message: Richard: "Re: [SLE] firewall blocking ntp"

    Relevant Pages