Can't Delete Downloaded Files

KGIII

Super Moderator
Staff member
Gold Supporter
Joined
Jul 23, 2020
Messages
8,549
Reaction score
7,306
Credits
69,523
Well, I just tested it like 5 times with two distros. So, something is amiss. They're your files. Linux should not be telling you that you can't delete them.

I'd not normally suggest this - but try tossing sudo in front of it.

Code:
sudo rm -rf Downloads/*

We've now moved from 'dangerous' to 'stupid' mode. However, you've got something wrong if it's telling you that you can't delete files you own. We can deal with that in another thread.

Anyhow, cut and paste that. Make sure you're getting all of it, including the asterisk. That means 'all the files in that directory'.
 


OP
SpongebobFan1994

SpongebobFan1994

Well-Known Member
Joined
Jan 10, 2021
Messages
781
Reaction score
462
Credits
7,560
Well, I just tested it like 5 times with two distros. So, something is amiss. They're your files. Linux should not be telling you that you can't delete them.

I'd not normally suggest this - but try tossing sudo in front of it.

Code:
sudo rm -rf Downloads/*

We've now moved from 'dangerous' to 'stupid' mode. However, you've got something wrong if it's telling you that you can't delete files you own. We can deal with that in another thread.

Anyhow, cut and paste that. Make sure you're getting all of it, including the asterisk. That means 'all the files in that directory'.

That did it. Hopefully now I shouldn't have any issues when trying to install Ubuntu MATE.
 

KGIII

Super Moderator
Staff member
Gold Supporter
Joined
Jul 23, 2020
Messages
8,549
Reaction score
7,306
Credits
69,523
Now, you need to figure out why you needed sudo.

See, files in YOUR 'Downloads' directory should be yours to do with as you darned well please. You shouldn't need 'sudo' to delete them.

But, it may just have been that one of the files in that directory belonged to a different user (there are other users, even if you didn't make them) somehow.

If you're curious and want to see how many users you have...

Code:
less /etc/passwd
 
OP
SpongebobFan1994

SpongebobFan1994

Well-Known Member
Joined
Jan 10, 2021
Messages
781
Reaction score
462
Credits
7,560
Now, you need to figure out why you needed sudo.

See, files in YOUR 'Downloads' directory should be yours to do with as you darned well please. You shouldn't need 'sudo' to delete them.

But, it may just have been that one of the files in that directory belonged to a different user (there are other users, even if you didn't make them) somehow.

If you're curious and want to see how many users you have...

Code:
less /etc/passwd

I don't know how that happened, and my concern isn't that anyway.

Anyway, now I am having problems with installing Ubuntu MATE, because it keeps saying I have zero gigs of disc space, even though I moved the files I wanted to my external hard drive and deleted everything else
 

Attachments

  • Screenshot from 2021-01-20 13-32-31.png
    Screenshot from 2021-01-20 13-32-31.png
    353.1 KB · Views: 252

KGIII

Super Moderator
Staff member
Gold Supporter
Joined
Jul 23, 2020
Messages
8,549
Reaction score
7,306
Credits
69,523
Hmm... Double-check VirtualBox to see where it's storing the hard drive images. It may be trying to store them on the first disk - which could be a small partition.
 
OP
SpongebobFan1994

SpongebobFan1994

Well-Known Member
Joined
Jan 10, 2021
Messages
781
Reaction score
462
Credits
7,560
Hmm... Double-check VirtualBox to see where it's storing the hard drive images. It may be trying to store them on the first disk - which could be a small partition.

It turns out the distro was on a cd instead of the hard disk. (Sarcastically speaking) this is one of those times where I feel like an idiot. Now I'm finally in the process of installing it.
 
MALIBAL Linux Laptops

Linux Laptops Custom Built for You
MALIBAL is an innovative computer manufacturer that produces high-performance, custom laptops for Linux.

For more info, visit: https://www.malibal.com

Staff online

Members online


Top