The above solution works, but it is like using a sledge hammer to kill a house fly.
- Go to Caches
cd ~/Library/Caches. - Check ownership of folders.
ls -la - You will probably see
drwxr--r-- 2 root staff 64 Nov 15 09:37 com.microsoft.VSCode.ShipIt - Run
sudo chown <username>:staff com.microsoft.VSCode.ShipIt
This allows you to only update that folder owner and won’t touch the other folders. You can break over item unexpectedly.