WU-FTPD 2.6.1 Release Notes (5900-2465, September 2012)

NOTE: You can specify only negative values for nice-delta. Positive values or 0 are
ignored.
The defumask Clause
The defumask clause allows you to set umask for a file created by the FTP daemon if the
remote user is a member of the named class. You can enter multiple defumask entries in the
/etc/ftpd/ftpaccess file. If you do not specify a class for a defumask entry, use umask
as the default for classes that do not have a defumask entry.
The syntax for the defumask clause is as follows:
defumask umask [ class ]
Example 6 The defumask Clause
The following are some examples for the defumask clause:
defumask 0177
defumask 0133 ClassA
This clause creates files with the permission -rw-r--r-- for a user of ClassA. For other
users, files are created with the permission -rw-------.
Limitations on the Number of Lines of Output
This feature allows you to limit the number of lines of output that can be sent to the remote
client. By default, the limit is set to 20.
The syntax for controlling the maximum number of lines of output is as follows:
site-exec-max-lines <number> [ class ...]
Example 7 The site-exec-max-lines Clause
The following are some examples for the site-exec-max-lines clause:
site-exec-max-lines 200 remote
site-exec-max-lines 0 local
site-exec-max-lines 25
Example 7 contains three example statements for the site-exec-max-lines clause. The
first example limits the output from SITE EXEC (therefore SITE INDEX) to 200 lines for
remote users. The second example specifies no limit for local users. The third example sets a
limit of 25 lines for all other users.
Root Directory Specification
This feature specifies the root directory when a user logs in as an anonymous or guest user.
The syntax for specifying the root directory is as follows:
anonymous-root <root-dir> [ class ]
guest-root <root-dir> [ uid-range ]
26 WU-FTPD 2.6.1 Release Notes