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
F163358681: D49807.id153601.diff
Wed, Jul 22, 11:54 AM
Unknown Object (File)
Sat, Jul 11, 7:36 PM
Unknown Object (File)
Sat, Jul 4, 6:02 PM
Unknown Object (File)
Thu, Jul 2, 10:16 AM
Unknown Object (File)
Tue, Jun 23, 8:16 PM
Unknown Object (File)
Jun 21 2026, 9:30 PM
Unknown Object (File)
Jun 7 2026, 10:31 PM
Unknown Object (File)
May 17 2026, 9:17 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)