gtpc1m4p | Transmission Control Protocol/Internet Protocol |
Each line of the TFTP configuration file must contain an EBCDIC string starting in column 1 and ending with a line-feed character (X'0A'), which is the format of a normal text file from UNIX.
The allow and deny directives control which directories and subdirectories are accessible to TFTP clients. If there are allow and deny directives for the same directory, access is denied.
If an AUTH directive is not specified or is not specified correctly in the TFTP configuration file, access permissions are set to 444 octal. This allows owner, group, and other read access.
The access permissions for a particular file can subsequently be modified by the ZFILE chmod command. See TPF Operations for more information about the ZFILE chmod command.
If a LOG directive is not specified in the TFTP configuration file, the /tmp/tftp.log file is used for logging.
The following is an example of allow and deny directives:
allow:/a deny:/a/b
The /a/filename.type and /a/c/filename.type files are accessible because the allow directive grants access and there is no deny directive that prevents access.
The /filename.type and /e/filename.type files are not accessible because they are not explicitly granted access by the allow directive. The /a/b/filename.type file is not accessible because access is prevented by the deny directive.