In my mac Mojave
machine, when I tried to delete a file, it shows the error
The directory is not empty.
But when I check, there were no files in that directory. When I did an ls -la
, it shows
total 0
drwxrwxrwx 330 root wheel 10560 Nov 23 20:35 .
drwxr-xr-x 3 root wheel 96 Nov 24 07:19 ..
I am not able to delete this using commands rmdir
, rm -rf
, etc. I tried all these with sudo
only.
How can I remove these files?