Fix parent path permission test.