git: 7543a9c0280a - main - dwatch: install hard links with same mode as target
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 23 Nov 2022 20:15:11 UTC
The branch main has been updated by emaste: URL: https://cgit.FreeBSD.org/src/commit/?id=7543a9c0280a0f4262489671936a6e03b9b2c563 commit 7543a9c0280a0f4262489671936a6e03b9b2c563 Author: Ed Maste <emaste@FreeBSD.org> AuthorDate: 2022-11-23 15:44:41 +0000 Commit: Ed Maste <emaste@FreeBSD.org> CommitDate: 2022-11-23 20:10:33 +0000 dwatch: install hard links with same mode as target Previoulsy when using NO_ROOT we recorded METALOG entries for dwatch hard links with different file modes than their link targets, which is not permitted. Reviewed by: bapt Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D37477 --- cddl/usr.sbin/dwatch/libexec/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/cddl/usr.sbin/dwatch/libexec/Makefile b/cddl/usr.sbin/dwatch/libexec/Makefile index 581556eeebd0..40d284ae456f 100644 --- a/cddl/usr.sbin/dwatch/libexec/Makefile +++ b/cddl/usr.sbin/dwatch/libexec/Makefile @@ -22,6 +22,7 @@ FILES= chmod \ vop_rename \ vop_symlink +LINKMODE= ${SHAREMODE} LINKS= ${LIBEXECDIR}/dwatch/chmod ${LIBEXECDIR}/dwatch/fchmodat LINKS+= ${LIBEXECDIR}/dwatch/chmod ${LIBEXECDIR}/dwatch/lchmod LINKS+= ${LIBEXECDIR}/dwatch/io ${LIBEXECDIR}/dwatch/io-done