HP-UX Remote Access Services Administrator's Guide

11. Create the pub directory under /home/ftp. Set the owner of the /home/ftp/pub
directory to user ftp and its permissions to 0777 (read, write, and execute
permissions), as shown in the following example:
# mkdir /home/ftp/pub
# chown ftp /home/ftp/pub
# chmod 0777 /home/ftp/pub
Anonymous ftp users can put files in this directory to make them available to
other anonymous ftp users.
12. Create a directory called dist under /home/ftp. Set the owner of the
/home/ftp/dist directory to user root and its permissions to 0755 (writable
only by root), as shown in the following example:
# mkdir /home/ftp/dist
# chown root /home/ftp/dist
# chmod 0755 /home/ftp/dist
The superuser can put read-only files in this directory to make them available to
anonymous ftp users.
13. Set the owner of user ftps home directory to root and the permissions to 0555
(not writable), as shown in the following example:
# chown root /home/ftp
# chmod 0555 /home/ftp
Figure 2-1 shows the directory structure for an anonymous ftp directory.
40 Configuring FTP