M HYPE SPLASH
// general

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?

5 Reset to default

Know someone who can answer? Share a link to this question via email, Twitter, or Facebook.

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy