Skip permissions check test when run as root

This is because root has access to the file even when it is locked down in this simple test, so it always fails

Github issue: 11

Thanks to Deny Dias