set the file permissions