libexec/tftpd a bit outdated

Michal Belczyk diavul at
Sun Nov 7 12:44:37 PST 2004


Here is a patch for tftpd (sync with FreeBSD 5.3 src tree):

It fixes setuid()/setgroups() order when using chroot() and adds two

-U umask
	Set the umask for newly created files.  The default is 022

-w	Allow writes requests to create new files.  By default tftpd
	requires that the file specified in a write request exist.

Another one ( is almost
self-explanatory (removed unused variable, etc).

Michal Belczyk

More information about the Submit mailing list