Installing and Administering Internet Services

50 Chapter 2
Installing and Configuring Internet Services
Configuring Anonymous ftp Access
chown root /home/ftp/etc
chmod 0555 /home/ftp/etc
11.Create a directory called pub under ˜ftp. Set its owner to user ftp
and its permissions to 0777 (writeable by all). Anonymous ftp users
can put files in this directory to make them available to other
anonymous ftp users.
mkdir /home/ftp/pub
chown ftp /home/ftp/pub
chmod 0777 /home/ftp/pub
12.Create a directory called dist under ˜ftp. Set its owner to user
root and its permissions to 0755 (writeable only by root). The
superuser can put read-only files in this directory to make them
available to anonymous ftp users.
mkdir /home/ftp/dist
chown root /home/ftp/dist
chmod 0755 /home/ftp/dist
13.Set the owner of user ftp’s home directory to root and the
permissions to 0555 (not writeable).
chown root /home/ftp
chmod 0555 /home/ftp
An anonymous ftp directory has the structure shown in Figure 2-1: