[Bug 7682] NtQueryDirectoryFile fails when querying certain symbolic link

Wine Bugs wine-bugs at winehq.org
Mon Mar 12 01:37:57 CDT 2007


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


thestig at google.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                URL|                            |http://www.propellerhead.se
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
           Keywords|                            |download
            Summary|NtQueryDirectoryFile fails  |NtQueryDirectoryFile fails
                   |if querying a symbolic link |when querying certain
                   |(eg: My Documents ->        |symbolic link
                   |/home/username)             |




------- Additional Comments From thestig at google.com  2007-12-03 01:37 -------
This bug occurs in the demo as well, but it depends on what the symlink is
pointing to:

If the symlink target is something under $HOME/.wine/drive_c, then
NtQueryDirectoryFile will resolve the symlink correctly.
If the target something outside of drive_c, i.e. $HOME, then it fails.

Using winecfg to add a mapping a drive letter to the target directory also lets
it resolve correctly, however, mapping a drive letter to any directory that
encompasses the target directory (i.e. Z: => /) does not resolve the symlink.


-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the wine-bugs mailing list