HDFS-5612: add tests for permission denied on traversal.