HomeFreeBSD

csh: install hard link with same mode as target

Description

csh: install hard link with same mode as target

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

We cannot just set LINKMODE here as it would also apply to the hard link
for the tcsh binary.

Reviewed by: brooks
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D37499

Details

Provenance
emasteAuthored on Nov 23 2022, 5:14 PM
Reviewer
brooks
Differential Revision
D37499: csh: install hard link with same mode as target
Parents
rGe59fa9b2e730: newbus: Comment style nit
Branches
Unknown
Tags
Unknown