content icon indicating copy to clipboard operation
content copied to clipboard

Error when running check content_rule_accounts_umask_interactive_users

Open GHDEV00 opened this issue 3 months ago • 2 comments

Description of problem:

Running the check xccdf_org.ssgproject.content_rule_accounts_umask_interactive_users results in an error.

SCAP Security Guide Version:

0.1.78

Operating System Version:

Ubuntu 22.04 LTS

Steps to Reproduce:

  1. Run openscap evaluation with profile "ssg-ubuntu2204_custom_cis-level-1-server"

Actual Results:

Running the check xccdf_org.ssgproject.content_rule_accounts_umask_interactive_users results in following error:

Title Ensure the Default Umask is Set Correctly For Interactive Users Rule xccdf_org.ssgproject.content_rule_accounts_umask_interactive_users E: probe_textfilecontent54: Function pcre_exec() failed to match a regular expression with return code -10 on string '# U CQօ΄Y)yjV.yK|l[+󽚮MaC-sv#M0mX(k~f9zVST7&ᄅ3|3'. e&eh Result error

Expected Results:

The test should pass or fail but not throw an error.

Additional Information/Debugging Steps:

GHDEV00 avatar Oct 15 '25 06:10 GHDEV00

This most likely caused by binary data in a dot file. We might need to switch SCE to fully fix this issue.

Mab879 avatar Oct 16 '25 13:10 Mab879

Agreed, should be binary file cause the read problem.

alanmcanonical avatar Nov 05 '25 08:11 alanmcanonical