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)
rmdir ':5N0A210'/ and
rmdir: failed to remove ':5N0A210': No such file or directory
123011781 drwxr-sr-x 2 username domain users 0 May 31 10:00 :5N0A210
find . -inum 123011781 -delete:
find: cannot delete ‘./:5N0A210’: No such file or directory
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'.