HomeFreeBSD

sh: install hard link with same mode as target

Description

sh: install hard link with same mode as target

Previously when using NO_ROOT we recorded a METALOG entry for the
/.profile hard link with a different mode than the link target, which is
not permitted.

Reviewed by: bapt
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D37476

(cherry picked from commit 1dbb9994d4dd44357976daedcac7d280e8327382)

Details

Provenance
emasteAuthored on Nov 23 2022, 3:20 PM
Reviewer
bapt
Differential Revision
D37476: sh: install hard links with same mode as target
Parents
rGcba3becc2003: CI: Run pkgbase METALOG lint script
Branches
Unknown
Tags
Unknown