finish file permissions