0

I try to remove directories that contain files in the command line by using rm -rf dir1. However,I receive error message telling

rm: cannot remove 'dir1': Directory not empty

Any ideas how to solve?

1

1 Answer 1

3

found the solution. A file called fuse_hidden produced the issues. I wasn't able to delete that file, even in not by rightclicking and deleting.

I used lsof dir/fuse_hidden to show processes using this file and closed them. After that I rm -rf was possible.

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.