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, Oct 8, 11:36 PM
Unknown Object (File)
Wed, Sep 24, 5:47 AM
Unknown Object (File)
Sat, Sep 20, 4:15 AM
Unknown Object (File)
Thu, Sep 18, 3:17 AM
Unknown Object (File)
Mon, Sep 15, 11:21 AM
Unknown Object (File)
Mon, Sep 15, 12:16 AM
Unknown Object (File)
Thu, Sep 11, 8:27 AM
Unknown Object (File)
Aug 25 2025, 9:22 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)