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)
Tue, Jul 2, 6:29 PM
Unknown Object (File)
May 17 2024, 3:33 AM
Unknown Object (File)
May 14 2024, 4:08 AM
Unknown Object (File)
May 13 2024, 6:40 AM
Unknown Object (File)
Apr 25 2024, 6:25 AM
Unknown Object (File)
Apr 19 2024, 4:19 PM
Unknown Object (File)
Mar 18 2024, 8:11 PM
Unknown Object (File)
Mar 8 2024, 12:27 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