Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 51433 - permissions mismatch between ntpd and /var/lib/misc
Summary: permissions mismatch between ntpd and /var/lib/misc
Status: RESOLVED DUPLICATE of bug 48822
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: SpanKY
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-05-18 16:58 UTC by Matthew Marlowe (RETIRED)
Modified: 2005-07-17 13:06 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Matthew Marlowe (RETIRED) gentoo-dev 2004-05-18 16:58:11 UTC
ntp is currently configured to run by default as user ntp, group ntp.
However, the management application, ntpdc, requires write permission to /var/lib/misc by default and baselayout currently has 755 and owned by root.

This bug has existed for several months and has required fixing on every server deployed.

Reproducible: Always
Steps to Reproduce:
1.setup new server
2.emerge, configure, and run ntpd
3.run ntpdc
4.Type peers
5. notice that syslog reports "18 May 16:05:24 ntpd[2023]: can't open /var/lib/misc/ntp.drift.TEMP: Permission denied"
6. chmod 777 /var/lib/misc, restart ntp
7. run ntpdc again, get correct results
Comment 1 SpanKY gentoo-dev 2004-05-23 12:35:23 UTC

*** This bug has been marked as a duplicate of 48822 ***