Fixed some permissions