adjust cache dir permissions