Details
-
Bug
-
Resolution: Duplicate
-
P2: Important
-
5.4.1, 5.12
-
Windows
-
004e3e0dc2cab4a4534d2ed3ace41aad6bfbe45d
Description
On Windows, junction points are not considered to be symlinks. This caused users of MSYS2 (which uses the Qt Installer Framework) to lose files from their %USERPROFILE% folder (which they'd junctioned to from their MSYS2 home folder) during uninstallation since removal of the installation folder would cause the target of junction points to also be deleted.
I also had to make a subsequent change to Qt IFW for this which I will submit for review later.
An old bug about this issue is QTBUG-20431
Attachments
Issue Links
- relates to
-
QTBUG-20431 QFileInfo::isSymLink() broken for NTFS mount point folders
- Closed
-
QTBUG-44639 Support real symbolic links on Windows
- Blocked
-
QTBUG-93869 Implement QFileInfo::junctionTarget(), QFile::junctionTarget()
- Closed
- resulted in
-
QTBUG-75869 Make Qt aware of symlinks, junctions, and shortcuts on Windows
- Closed
For Gerrit Dashboard: QTBUG-45344 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
113019,7 | Windows: Read the links for a junction correctly | 5.6 | qt/qtbase | Status: ABANDONED | 0 | 0 |
261124,2 | win32: make QFileInfo::canonicalPath able to resolve Reparse Points | dev | qt/qtbase | Status: ABANDONED | 0 | 0 |