fixing permissions of the folder on extract