Troubleshooting TFTP PUT command failure on RHEL
Issue
PUT command with Trivial File Transfer (TFTP) on Red Hat Enterprise Linux (RHEL) fails with the permission error.
Resolution
To resolve the issue, set the SELinux mode to Permissive, as follows:
- Log on to the computer as a root user.
- Run the getenforce command to check the SELinux configuration.
- If the previous command returns Enforcing, do one of the following to set the mode to Permissive:
- To set the mode to Permissive temporarily, run the following command: setenforce 0
- To set the mode to Permissive permanently (boot time), do the following:
- Open the /etc/selinux/config file with a text editor.
- Change the value of SELINUX to permissive, as follows:
SELINUX=permissive - Save the file.
- Reboot the computer.
- Verify that the getenforce command returns Permissive.
Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*