Correct incorrect file permissions