Corrected some permissions