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)
Sun, Aug 16, 8:03 AM
Unknown Object (File)
Fri, Aug 14, 7:27 PM
Unknown Object (File)
Fri, Aug 14, 1:33 AM
Unknown Object (File)
Sat, Aug 8, 6:34 PM
Unknown Object (File)
Sat, Aug 8, 3:56 AM
Unknown Object (File)
Fri, Aug 7, 2:40 PM
Unknown Object (File)
Fri, Aug 7, 2:40 PM
Unknown Object (File)
Fri, Aug 7, 2:40 PM
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)