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)
Fri, Jan 17, 12:54 AM
Unknown Object (File)
Dec 17 2024, 8:00 PM
Unknown Object (File)
Dec 1 2024, 9:56 AM
Unknown Object (File)
Nov 12 2024, 8:23 PM
Unknown Object (File)
Nov 9 2024, 1:48 AM
Unknown Object (File)
Oct 28 2024, 9:07 AM
Unknown Object (File)
Oct 28 2024, 9:07 AM
Unknown Object (File)
Oct 28 2024, 9:07 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