Why do I get “can’t open /etc/ntp/drift.TEMP: Permission denied” entries in /var/log/messages when I use ntpd?
by The editorial team
Release found: Red Hat Enterprise Linux 3
Resolution:
This error is caused by an incorrectly configured /etc/ntp.conf file. In earlier versions of Red Hat Enterprise Linux, the drift file was located in the /etc/ntp directory, owned by root. As the ntp daemon does not run as root, it cannot create a new drift file. The preferred location for the drift file in the newer releases of Red Hat Enterprise Linux is the /var/lib/ntp directory.
To correct this error, change the line in /etc/ntp.conf that reads:
driftfile /etc/ntp/drift
to:
driftfile /var/lib/ntp/drift
contributed by Andrew Ryan






