cache starred: only try to chmod cache directory if it is not writable