[#54742738] Use permissions instead of permission
[#54742738] Generalize tests in order to not depend on existing files

- Smoke test for HdfsEntityDetails