The best place to ask programming/development questions, imo. UPDATE: stackoverflow is the *worst* place to *ask* questions (if your first question/comment doesn't get any up-rating/response, then u can't ask anymore questions--ridiculously unrealistic), but a great reference for finding answers.

My Music (Nickleus)

20120823

ubuntu nautilus error can't delete non-empty folder

i have a folder here:
/media/backup/me/path/to/folder/i/want/to/delete

but when i try to delete it in nautilus i get an error like:
error can't delete non-empty folder / the directory is not empty

(i don't remember the exact wording)

to fix this i forced a disk check at the next reboot:
sudo touch /forcefsck
sudo reboot

after the reboot and disk check, i tried deleting this folder:
/media/backup/me/path/

but got the same error. then i navigated all the way into this folder:
/media/backup/me/path/to/folder/i/want/to/delete

then showed hidden files (Ctrl+h)
then deleted the innermost folder and it deleted! then i stepped up to each consecutive parent folder and deleted them along the way until i got back up to:
/media/backup/me/path/

and i was able to delete that one as well =)

No comments:

Post a Comment