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
F102214970: D37477.diff
Sat, Nov 9, 1:48 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, 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
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

Lint
Lint Skipped
Unit
Tests Skipped

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