[Bug 279892] /etc/mtree/BSD.root.dist: /etc/ntp is mode 0700 and does not belong to ntp

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 21 Jun 2024 15:35:17 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=279892

            Bug ID: 279892
           Summary: /etc/mtree/BSD.root.dist: /etc/ntp is mode 0700 and
                    does not belong to ntp
           Product: Base System
           Version: 14.1-STABLE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: conf
          Assignee: bugs@FreeBSD.org
          Reporter: d8zNeCFG@aon.at

Scenario:
- FreeBSD 14.1 stable at a3a09bbf21dcd4f18b90e11023e0c26368bed4d2 with minor
local changes

Result:
- /etc/mtree/BSD.root.dist sets /etc/ntp as 0700 root/wheel even though in
/etc/rc.d/ntpd it is (should be) set to ntp/ntp

Expected result:
- /etc/mtree/BSD.root.dist should use the correct UID/GID for /etc/ntp
- It is not useful to set /etc/ntp to 0700 because it only contains the
leap-seconds file, which is public knowledge

-- Martin

-- 
You are receiving this mail because:
You are the assignee for the bug.