I cannot delete a directory containing a colon (using Ubuntu) on a network drive (filesystem: CIFS). How can I delete this directory? (no root privileges, but do have read/write permission)
Output of rmdir ':5N0A210'/
and rmdir ':5N0A210'
:
rmdir: failed to remove ':5N0A210': No such file or directory
Output of ls -li
:
123011781 drwxr-sr-x 2 username domain users 0 May 31 10:00 :5N0A210
Output of ls -1b
:
:5N0A210
Output of find . -inum 123011781 -delete
:
find: cannot delete ‘./:5N0A210’: No such file or directory
Output of rename 's|:|-|g' *
:
Can't rename :5N0A210 -5N0A210: No such file or directory
I just realized I can create directory ':test' and also able to delete with no errors.
I can also create ':5N0A210' and delete it, but it is shown immediately after I refresh GUI. ls -li
shows the same inode number as before.
I can also create ':4N0A210' (changed '5' to '4') and delete it with no errors.
All testing was done in same directory as ':5N0A210'.
:5N0A210
resides in (not inside:5N0A210
). I had canceled the copy midway.