Configuring and Managing MPE/iX Internet Services (MPE/iX 6.5)

Chapter 5 71
TFTP Service
Configuring tftpd
Specifying a Search Path
As an option, you can use the [path…] parameter in the inetd
configuration file entry to specify the list of files or directories that are
available to TFTP clients. For example, if you would like to have the
/tmp and /bin directories available to TFTP clients in addition to the
home group of the TFTP user, edit the line to look like this:
tftp dgram udp wait USER.TFTP /SYS/NET/TFTPD tftpd /tmp
/bin
When a file is requested by a TFTP client, tftpd first looks for a file
relative to the home directory of the user specified in the inetd
configuration file. If it does not find the file there, it then checks to see if
the following two conditions are met:
File requested is at or below [path].
User specified in the inetd configuration file (in the previous
examples, USER.TFTP) has access to the file.
When invoked with no path arguments, tftpd cannot follow symbolic
links that refer to paths outside of the home directory of the user
specified in the inetd configuration file.
Permission to Retrieve Files
If permission is given to remote systems to retrieve a file through TFTP,
then the file must be readable by the user specified in the inetd
configuration file. If permission is given to remote systems to transmit a
file through TFTP, then the file must already exist and be writable by
the user specified in the inetd configuration file.