CiscoDevNet / Hyperflex-Hypercheck

Perform pro-active self checks on your Hyperflex cluster to ensure stability and resiliency
MIT License
27 stars 18 forks source link

/tmp dir permission failure #30

Closed sandkum5 closed 4 years ago

sandkum5 commented 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.

hsardana09 commented 4 years ago

Check added in the updated/committed build.