[Bug 22343] Word Pro overwrites symbolic links

wine-bugs at winehq.org wine-bugs at winehq.org
Sun Apr 11 21:06:04 CDT 2010


http://bugs.winehq.org/show_bug.cgi?id=22343


Vitaliy Margolen <vitaliy at kievinfo.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |WONTFIX




--- Comment #8 from Vitaliy Margolen <vitaliy at 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.

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list