Page MenuHomeFreeBSD

libexec/inetd: Add -S to tftpd usage example in inetd.conf
ClosedPublic

Authored by marck on Apr 13 2025, 9:12 AM.
Tags
None
Referenced Files
F137880366: D49807.id.diff
Wed, Nov 26, 7:44 PM
Unknown Object (File)
Tue, Nov 25, 12:20 AM
Unknown Object (File)
Mon, Nov 24, 4:30 AM
Unknown Object (File)
Sun, Nov 23, 9:56 PM
Unknown Object (File)
Thu, Nov 20, 5:58 PM
Unknown Object (File)
Mon, Nov 17, 11:33 AM
Unknown Object (File)
Sun, Nov 9, 2:26 AM
Unknown Object (File)
Wed, Nov 5, 7:06 AM
Subscribers

Details

Summary

Since 273a307d0b80743fb08e23237b3f74dc94a8fa2a there is '-S' option which uses generic file permissions when tftpd is chrooted ('-s /chroot/dir') instead of special requirements "be publicly writable"

The '-s /tftproot' is always used in the usage example, so add '-S' here too

Diff Detail

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

Event Timeline

marck requested review of this revision.Apr 13 2025, 9:12 AM

Approved. You may commit this. Though, maybe use -S as first option to not mix lower and upper case options (sort them).

This revision is now accepted and ready to land.May 1 2025, 4:32 PM

Though, maybe use -S as first option to not mix lower and upper case options (sort them).

In the man page, options are sorted case-insensitive (while, the order is reversed in options list but not in synopsis)