change write right on cache and log paths