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
Unknown Object (File)
Mon, Oct 28, 9:07 AM
Unknown Object (File)
Mon, Oct 28, 9:07 AM
Unknown Object (File)
Mon, Oct 28, 9:07 AM
Unknown Object (File)
Mon, Oct 28, 8:45 AM
Unknown Object (File)
Sep 21 2024, 11:44 PM
Unknown Object (File)
Sep 18 2024, 5:03 AM
Unknown Object (File)
Aug 24 2024, 9:45 PM
Unknown Object (File)
Aug 18 2024, 12:34 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