I have a reproducible case, and none of the ones suggested here help due to permission restrictions.
In sygwin:
[ Sakis@t0000000000 ]$ ll total 0 drwxr-x--- 1 ???????? ???????? 0 Jul 4 02:51 t0000000000_1.db/ [ Sakis@t0000000000 ]$
Trying to take ownership from admin cmd console:
c:\t000000000 0>takeown /r /f t0000000000_1.db ERROR: Access is denied.
Trying to remove admin cmd from the console:
c:\t000000000 0>rmdir /S t0000000000_1.db t0000000000_1.db, Are you sure (Y/N)? Y Access is denied.
Unable to change ownership from Windows GUI. He complains that you must have read permissions.
--- RESOLVED ---
Finally, I was able to remove it by entering the cmd command with administrative privileges and run:
rm -r <dir>
TIP. You must make sure that the directory is not used at all. You can use procmon to find you, which blocks this directory.
thanos.a
source share