http://bugs.winehq.org/show_bug.cgi?id=22343
Vitaliy Margolen vitaliy@kievinfo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |WONTFIX
--- Comment #8 from Vitaliy Margolen vitaliy@kievinfo.com 2010-04-11 21:06:03 --- There is nothing we can do. As Jeff pointed out app itself removes files then replaces it with a temporary file it creates:
trace:file:CreateFileW L"Z:\home\tony\Desktop\lwp02a41.5d5" GENERIC_READ GENERIC_WRITE FILE_SHARE_READ creation 3 attributes 0x80 trace:file:CreateFileW L"Z:\home\tony\Desktop\lwp02a41.5d5" GENERIC_READ GENERIC_WRITE FILE_SHARE_READ creation 2 attributes 0x8000080 trace:file:DeleteFileW L"Z:\home\tony\Desktop\eraseme.lwp" trace:file:MoveFileWithProgressW (L"Z:\home\tony\Desktop\lwp02a41.5d5",L"Z:\home\tony\Desktop\eraseme.lwp",(nil),(nil),0002)
Per symlink semantics when you remove it you remove the symlink no the file it points to. But even if Wine will do a workaround to remove the actual file there is nothing you can do about renaming another file with the name of the symlink. It will fail.