How to delete this WindowsApps folder (permission denied with rm even with sudo :( )?
By Emily Wilson •
I used to use windows on my laptop and then moved ubuntu. While I was using windows, I once moved microsoft store apps to a different partition to save space in C drive and I guess it was saved in "WindowsApps" folder. Now I use Ubuntu and I don't need that folder anymore but can't delete it. If I execute sudo rm -rf ./WindowsApps then I get
rm: cannot remove './WindowsApps/Microsoft.MinecraftUWP_1.16.20102.0_x64__8wekyb3d8bbwe/data/test/MPThresholds.json': Permission denied
rm: cannot remove './WindowsApps/Microsoft.MinecraftUWP_1.16.20102.0_x64__8wekyb3d8bbwe/ Directory not empty
rm: cannot remove './WindowsApps/Microsoft.MinecraftUWP_1.16.20102.0_x64__8wekyb3d8bbwe/ Permission denied(there were a lot of erros like this, I only copied the last 3)
How do I delete them?