Become superuser.
Add the following entries to the ftpaccess file to prevent users from retrieving files.
noretrieve [absolute|relative] [class=classname]... [-] filename ... |
noretrieve |
Keyword that is used to deny retrieval of a particular file or files |
absolute|relative |
Parameter that specifies whether the root-dir directory paths are interpreted as absolute or relative to the current chroot directory |
class |
Keyword that is used to specify class=<classname> of users to which noretrieve restrictions apply |
filename |
Name of file the user is not permitted to retrieve |
noretrieve /etc/passwd |
The preceding example states that all users are prevented from retrieving the /etc/passwd file.