On Windows (NTFS), splunk-cli emits this warning on every command:
Warning: config file C:\Users\DATURNER.config\splunk-cli\config.toml
has permissions 0666; expected 0600.
The file may contain credentials. Run: chmod 600
C:\Users\DATURNER.config\splunk-cli\config.toml
Running chmod 600 has no effect — NTFS does not support Unix file
permissions, so the reported mode is always 0666 regardless of ACLs.
Expected behavior:
The permissions check should be skipped on Windows (or on filesystems
that don't support Unix permission bits).
Environment:
- splunk-cli v2.0.2
- Windows 11 Enterprise (NTFS)
- Git Bash (MINGW64)
On Windows (NTFS), splunk-cli emits this warning on every command:
Warning: config file C:\Users\DATURNER.config\splunk-cli\config.toml
has permissions 0666; expected 0600.
The file may contain credentials. Run: chmod 600
C:\Users\DATURNER.config\splunk-cli\config.toml
Running chmod 600 has no effect — NTFS does not support Unix file
permissions, so the reported mode is always 0666 regardless of ACLs.
Expected behavior:
The permissions check should be skipped on Windows (or on filesystems
that don't support Unix permission bits).
Environment: