Fix some permissions