DragonFly BSD
DragonFly submit List (threaded) for 2004-11
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

libexec/tftpd a bit outdated


From: Michal Belczyk <diavul@xxxxxxxxxxxxx>
Date: Sun, 7 Nov 2004 21:42:04 +0100

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



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]