changed default permission to be +W for cache file