]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
csh: install hard link with same mode as target
authorEd Maste <emaste@FreeBSD.org>
Wed, 23 Nov 2022 17:14:18 +0000 (12:14 -0500)
committerEd Maste <emaste@FreeBSD.org>
Tue, 29 Nov 2022 21:04:05 +0000 (16:04 -0500)
commit67d2aaf078e967bb626cf50c53d679aad71aeaf9
treedd56e91299c81c695eefd2492714f0c435a31ff7
parente59fa9b2e7306e1ddc73e58628c3b64cf915e3ae
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
bin/csh/Makefile