Closed sandkum5 closed 4 years ago
As per hypecheck code, we are doing the following match: if line.startswith("drwxr-xrwx"): tmprcheck = "PASS" else: tmprcheck = "FAIL"
In my customer case, the /tmp directory has drwxrwxrwx(777) permissions which should be ok but because of the above match, it's causing a failure.
We should match against a list of required permissions rather than a specific match to avoid failures in customer environments.
Check added in the updated/committed build.
As per hypecheck code, we are doing the following match: if line.startswith("drwxr-xrwx"): tmprcheck = "PASS" else: tmprcheck = "FAIL"
In my customer case, the /tmp directory has drwxrwxrwx(777) permissions which should be ok but because of the above match, it's causing a failure.
We should match against a list of required permissions rather than a specific match to avoid failures in customer environments.