Oops, sorry, I missed that typo. Rooting will cause the device to fail to attest under both tests available[1].
[1] https://developer.android.com/training/safetynet/attestation... (note the table under "Possible attestation results". This is what I meant by you are not allowed to own your device's own filesystem (root access).