[arch-general] permission problem /var/lib/ntp after update (should it be ntp:ntp ?)

Sebastian Schwarz seschwar at googlemail.com
Thu Mar 1 16:18:21 EST 2012


Hello,

On 2012-03-01 at 11:32 -0600, David C. Rankin wrote:
>   After update of ntp to 4.2.6.p5-4, I get the following log entries:
>
> Mar  1 09:55:50 archangel ntpd[1180]: frequency file
> /var/lib/ntp/ntp.drift.TEMP: Permission denied
>
>   Checking password and group, there is a ntp for each. Should the UIG:GID for
> /var/lib/ntp be ntp:ntp?

Up to version 4.2.6.p5-3 the ntpd process ran as root.  No it
runs as the "ntp" user. [1][2]  The files created by ntpd back
then are owned by root.  But now they are unable to be accessed
by the ntp user.  A simple "chown -R ntp /var/lib/ntp" should do
the trick.

[1]: https://bugs.archlinux.org/task/28704
[2]: http://projects.archlinux.org/svntogit/packages.git/commit/trunk?h=packages/ntp&id=735e96f2e5d4ce318525cc6ab1e51ee16e6fa27f


More information about the arch-general mailing list