this post was submitted on 05 Apr 2025
7 points (100.0% liked)
macOS
1126 readers
1 users here now
The home for all things macOS on LW.
Rules:
- No NSFW Content.
- No hate speech or personal attacks.
- No Ads / Spamming.
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
There was a bug once that affected files which had been write-protected by user. Once a file had been made write-protected, it coudn't be either moved into trash, or be deleted at all - because, it was write-protected. Even fixing file permissions didn't help.
Could it be possible that you moved such a protected file into trash? Try the following command in Terminal:
sudo rm -rf ~/.Trash/*
then enter your password. This should empty the trash by force.Alternatively:
sudo rm
followed by a space. Do not press the Enter key afterwards (this is important)..
Edit: After reading my comment once again: The second sentence should read:
Once a file had been made write-protected, it coudn't be either moved into trash, or be deleted at all. Even, removing the write-protection by unchecking the tick box in the file information was not possible - because, it was write-protected.
None of these worked.
I'm sorry to hear that. What about another attempt:
Are you able to move the files from your Desktop onto the thumb drive? If not, I'm out of ideas. If yes:
Perhaps this works. Good luck.
That didn't work either but the error message said something about needing it to be downloaded. That reminded me it was originally on OneDrive so I put it back when it started, went to the OneDrive site in a browser and was able to delete it from there. Thanks!
That's the nasty thing with OneDrive: Usually, your file that you have created is on your computer. So this is considered as "original". A copy of that file is then uploaded into the cloud.
With OneDrive it is reversed. The file you created on your computer probably is saved to OneDrive immediately, making this the original file. On your computer there is just a copy that acts as an alias.
If you have Microsoft Office as a stand-alone version (e.g. home or student version) installed on your computer, go settings and look where you can change that files are saved onto your computer in order to avoid this in the future (this might not be an option if you use Office 365, as they do not support to change the save location any longer, as far as i recall).