libexec/tftpd a bit outdated

Michal Belczyk diavul at bsd.krakow.pl
Sun Nov 7 12:44:37 PST 2004


Hello,

Here is a patch for tftpd (sync with FreeBSD 5.3 src tree):
http://www.bsd.krakow.pl/tftpd.diff

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

-U umask
	Set the umask for newly created files.  The default is 022
	(S_IWGRP | S_IWOTH).

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

Another one (http://www.bsd.krakow.pl/tftpd.diff2) is almost
self-explanatory (removed unused variable, etc).

-- 
Michal Belczyk





More information about the Submit mailing list