fixed cache permission while unpacking