When running xcatprobe xcatmn in a Bash shell with umask 027 (commonly set for security reasons), the check "TFTP service is configured" fails due to restrictive permissions on the TFTP directory.
Steps to Reproduce:
Set umask 027 in your shell.
Run xcatprobe xcatmn.
Expected Behavior:
The TFTP check should pass, or xcatprobe should handle permissions appropriately.
Actual Behavior:
The TFTP check fails because the directory permissions are too restrictive.
Environment Details:
xCAT version: 2.16.5
OS version: Rocky 9.3
Fix:
Add "umask 022;" to the top of /opt/xcat/probe/lib/perl/probe_utils.pm