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

General Stone generalstone at gmx.net
Fri Aug 18 17:30:08 UTC 2006


-----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.

"chown -R ntp:$LOG_GROUP /var/log/ntpstats" in init.d/ntp could
dissolving this problem.

Thanks.

- - Markus Nass

- --
Key fingerprint = DC3C 257C 2B71 8FA4 F609  F7F7 7C14 F806 5665 77FD

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Was nicht fliegen kann, kann auch nicht abstürzen.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFE5fkgfBT4BlZld/0RA8rHAKCZQEhh7EeXQ97X2tu92W7CznZwVACgpXCY
YzLXJdGRvyBdiMjX+BZTAGg=
=hJnS
-----END PGP SIGNATURE-----




More information about the pkg-ntp-maintainers mailing list