HomeAppleexhausting drive - The right way to delete a file on MacOS...

exhausting drive – The right way to delete a file on MacOS that offers error “No such file or listing”?


On an exterior FAT32 exhausting drive there’s a file within the Bin (.Trashes) which I can’t delete. Even when I attempt to delete it on the command line utilizing

rm offending_file

I get an error

rm: offending_file: No such file or listing

I additionally simply ran the “First Support” from the “Disk Utility” however that instrument didn’t discover any points.

So what else can I do to take away/repair that file?

Additionally, when I attempt to take away the folder containing that file with

rm -rf folder

I get the error

rm: folder/: Permission denied

even after I run the command with sudo rights.

ls -l of the containing folder reveals

-rwx------  1 alex  workers  67755741 Oct 18 04:51 offending_file

When opening the “Bin” on MacOS I solely see an empty folder I can’t delete instantly as an error pops up saying the merchandise “is in use”, which, after all, will not be the case.

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Most Popular

Recent Comments