Re: permission problem /var/lib/ntp after update (should it be ntp:ntp ?)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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


[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux