https://bugs.winehq.org/show_bug.cgi?id=50285
Bug ID: 50285 Summary: File renamings involving symbolic links fail Product: Wine-staging Version: unspecified Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: martin@martin.st CC: erich.e.hoover@gmail.com, leslie_alistair@hotmail.com, z.figura12@gmail.com Distribution: ---
Created attachment 68842 --> https://bugs.winehq.org/attachment.cgi?id=68842 Sample for case 1
Two cases of file renamings involving symlinks fail:
Case 1: A regular file, named "regular", and a symlink named "symlink" pointing at "regular". Rename "regular" to "symlink" (which should overwrite the existing symlink). This should leave one single file, a regular file, named "symlink". In practice, no rename happens (but no error is reported either).
Case 2: A symlink pointing at a missing file. Renaming the symlink with MoveFileEx fails.