Bug#383666: [pkg-ntp-maintainers] Bug#383666: remove chown on /var/log/{statsdir}

Kurt Roeckx kurt at roeckx.be
Fri Aug 18 18:46:18 UTC 2006


On Fri, Aug 18, 2006 at 07:30:08PM +0200, General Stone wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: RIPEMD160
> 
> Peter Eisentraut schrieb:
> > This is not a matter of reading the logs but writing the logs.  The ntpd 
> > daemon runs as ntp:ntp, so the permissions need to be set appropriately.  In 
> > order to have general read access to log files on Debian, you need to be 
> > root.
> 
> What I meen is, that the logs could be have another group-permission,
> but not another user-permission. On my server I have an user which is in
> the adm group and need to read the logfiles. If the server restarts from
> the init-script, the group will be changed to the group ntp, and the
> user can not read the log-files.

There are several things you can do:
- Change the init script yourself.  It's a configuration file, so
  it won't get overriden on upgrade, and if we change it, it should
  and come ask you.  I suggest you just remove the line in your case.
- Add the user to the ntp group.


Kurt





More information about the pkg-ntp-maintainers mailing list