Corrected permissions errors.