correct file permissions