Fix file permissions fit test