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
Unknown Object (File)
Wed, Jan 21, 12:36 PM
Unknown Object (File)
Dec 25 2025, 1:21 PM
Unknown Object (File)
Dec 6 2025, 2:51 AM
Unknown Object (File)
Nov 29 2025, 11:06 AM
Unknown Object (File)
Nov 28 2025, 8:57 AM
Unknown Object (File)
Nov 27 2025, 4:36 AM
Unknown Object (File)
Nov 26 2025, 7:44 PM
Unknown Object (File)
Nov 25 2025, 12:20 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)