Bug 127206 - Wrong permissions on /etc/ntp
Summary: Wrong permissions on /etc/ntp
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: ntp
Version: 2
Hardware: i386
OS: Linux
medium
high
Target Milestone: ---
Assignee: Harald Hoyer
QA Contact: Brian Brock
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2004-07-04 00:07 UTC by Olaf Fraczyk
Modified: 2007-11-30 22:10 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2004-07-13 13:35:20 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Olaf Fraczyk 2004-07-04 00:07:06 UTC
Description of problem:
The /etc/ntp directory is owned and writable only by root.
But the ntpd daemon is run as "ntp" user and cannot save drift.

Version-Release number of selected component (if applicable):
ntp-4.2.0-7

How reproducible:
Always

Steps to Reproduce:
1. Run ntpd daemon
2. watch the /var/log/messages you will see:
Jul  3 10:56:52 venus ntpd[1706]: can't open /etc/ntp/drift.TEMP:
Permission denied

OR 
1. ls -ld /etc/ntp

  
Actual results:
user ntp is unable to write to /etc/ntp/

Expected results:
user ntp has permission to write to /etc/ntp/

Additional info:

Comment 1 Harald Hoyer 2004-07-13 13:35:20 UTC
/var/lib/ntp is the place to store the driftfile,
change your config file, please... (see ntp.conf.rpm{new,save})


Note You need to log in before you can comment on or make changes to this bug.