Bug 127206

Summary: Wrong permissions on /etc/ntp
Product: [Fedora] Fedora Reporter: Olaf Fraczyk <olaf>
Component: ntpAssignee: Harald Hoyer <harald>
Status: CLOSED NOTABUG QA Contact: Brian Brock <bbrock>
Severity: high Docs Contact:
Priority: medium    
Version: 2   
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2004-07-13 13:35:20 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

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})