Subject: ftpd.conf's use of umask
To: None <current-users@NetBSD.ORG>
From: noud de brouwer <>
List: current-users
Date: 01/21/1998 02:41:09
hi all,

/etc/ftpchroot known user tryes useing umask chroot 0644 in /etc/ftpd.conf..

STAT shows:

211- Class: chroot
211- Check PORT commands: disabled
211- Idle timeout: 900, maximum timeout: 7200
211- DELE, MKD, RMD, UMASK, CHMOD commands: enabled
211- Umask: 0644

but the STOR file looks like:

-----w--w-  1 aurora  users   292 Dec 27 09:40 stor_file

in /usr/src/libexec/ftpd/conf.c is see:

                        umask = (mode_t)strtoul(arg, &endp, 8);

that looks ok to me (?).

is my understanding of the umask use in /etc/ftpd.conf incorrect,
or is that part of our ftpd simply not finished??