fixed cache permissions