Page MenuHomeFreeBSD

dwatch: install hard links with same mode as target
ClosedPublic

Authored by emaste on Nov 23 2022, 3:47 PM.
Tags
None
Referenced Files
F82072341: D37477.id113441.diff
Thu, Apr 25, 6:25 AM
Unknown Object (File)
Fri, Apr 19, 4:19 PM
Unknown Object (File)
Mar 18 2024, 8:11 PM
Unknown Object (File)
Mar 8 2024, 12:27 AM
Unknown Object (File)
Mar 8 2024, 12:26 AM
Unknown Object (File)
Mar 8 2024, 12:26 AM
Unknown Object (File)
Mar 8 2024, 12:14 AM
Unknown Object (File)
Jan 15 2024, 1:52 AM
Subscribers

Details

Summary

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.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

emaste created this revision.

As an aside I'm curious why dwatch is in cddl/

cddl/usr.sbin/dwatch/libexec/Makefile
25

Taken as the default from bsd.files.mk

${group}MODE?=  ${SHAREMODE}
This revision is now accepted and ready to land.Nov 23 2022, 6:56 PM