Can't delete files created by WINE on NTFS partition
Hi, there. I've been playing with Linux Mint for a few months, made it my main OS on my gaming rig. In my journey to getting Windows games running, I made some missteps and ended up with some directories on my Windows partition that I can't delete in either OS.
The best I could do was rename the top level folder .old (i.e. SteamLibrary.old) and ignore it. But I would like to delete it.
sudo rm -rf SteamLibrary.old/
rm: cannot remove 'SteamLibrary.old/steamapps/compatdata/1000010/pfx/dosdevices': Directory not empty
The files that are having issues:
.............../SteamLibrary.old/steamapps/compatdata/1000010/pfx/dosdevices
drwxrwxrwx 1 root root 4096 Nov 16 14:42 .
drwxrwxrwx 1 root root 4096 Nov 16 14:42 ..
lrwxrwxrwx 0 root root 34 Aug 16 17:11 c: -> 'unsupported reparse tag 0xa000000c'
lrwxrwxrwx 0 root root 34 Aug 16 17:11 d:: -> 'unsupported reparse tag 0xa000000c'
lrwxrwxrwx 0 root root 34 Aug 16 17:13 e: -> 'unsupported reparse tag 0xa000000c'
lrwxrwxrwx 0 root root 34 Aug 16 17:11 e:: -> 'unsupported reparse tag 0xa000000c'
lrwxrwxrwx 0 root root 34 Aug 16 17:11 z: -> 'unsupported reparse tag 0xa000000c'
So I take it they are junction points or symlinks that are broken, but neither Linux or Windows will let me delete them:
sudo rm *
rm: cannot remove 'c:': No such file or directory
rm: cannot remove 'd::': No such file or directory
rm: cannot remove 'e:': No such file or directory
rm: cannot remove 'e::': No such file or directory
rm: cannot remove 'z:': No such file or directory
I imagine others have come across this before. But a google search came with OneDrive on linux issues (not using that here) and NTFS-3g issues. Under Linux I mounted the Windows partition on fuseblk.