mirror of
https://github.com/freebsd/freebsd-src
synced 2024-07-21 10:19:04 +00:00
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
(cherry picked from commit 7543a9c028
)
This commit is contained in:
parent
feb3da2526
commit
2dd014ca0c
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue