xcat-core icon indicating copy to clipboard operation
xcat-core copied to clipboard

xcatprobe xcatmn TFTP check fails when running in shell with umask 027

Open OrenMustaki opened this issue 10 months ago • 0 comments
trafficstars

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

OrenMustaki avatar Dec 26 '24 08:12 OrenMustaki