fix cache permission