Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
OrenMustaki opened this issue Dec 26, 2024 · 0 comments
Open

Comments

@OrenMustaki
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant