Correct file permissions now working