看板 DFBSD_submit 關於我們 聯絡資訊
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