Boost C++ Libraries: Ticket #4663: filesystem objects falsely identified as symlinks https://svn.boost.org/trac10/ticket/4663 <p> Symlink status on windows is determined only by checking the FILE_ATTRIBUTE_REPARSE_POINT attribute. </p> <p> But, that doesn't really mean the file is a symlink as the type of a reparse point depends on the reparse point tag. </p> <p> If the file has the IO_REPARSE_TAG_SYMLINK or IO_REPARSE_TAG_MOUNT_POINT tag, then it is some kind of symlink (junction, mount point or symlink). </p> <p> E.g. see <a class="ext-link" href="http://msdn.microsoft.com/en-us/library/dd541667%28PROT.13%29.aspx"><span class="icon">​</span>http://msdn.microsoft.com/en-us/library/dd541667%28PROT.13%29.aspx</a> </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/4663 Trac 1.4.3 Beman Dawes Mon, 11 Oct 2010 20:22:06 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/4663#comment:1 https://svn.boost.org/trac10/ticket/4663#comment:1 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">fixed</span> </li> </ul> <p> (In <a class="changeset" href="https://svn.boost.org/trac10/changeset/65916" title="Fix #4663, filesystem objects falsely identified as symlinks. ...">[65916]</a>) Fix <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/4663" title="#4663: Bugs: filesystem objects falsely identified as symlinks (closed: worksforme)">#4663</a>, filesystem objects falsely identified as symlinks. operations_test.cpp refactored and various symlink related tests added. Fixes to bugs found as a result, in addition to the 4663 bug. </p> Ticket Claudio Bley Thu, 25 Nov 2010 11:34:01 GMT status changed; resolution deleted https://svn.boost.org/trac10/ticket/4663#comment:2 https://svn.boost.org/trac10/ticket/4663#comment:2 <ul> <li><strong>status</strong> <span class="trac-field-old">closed</span> → <span class="trac-field-new">reopened</span> </li> <li><strong>resolution</strong> <span class="trac-field-deleted">fixed</span> </li> </ul> <p> I eagerly awaited the 1.45 release in order to use the fixed filesystem library. But, I'm not really happy, yet. </p> <p> As I indicated in my initial report, I would suggest to handle junction points (pre Vista "symlinks") and <em>real</em> symlinks as supported by NTFS v6.0 the same. </p> <p> Rational: They serve the same purpose and act the same except junction points have some more limitations than symlinks. </p> <p> It would make life easier when traversing the filesystem to avoid running into a cyclic directory reference if <code>boost::filesystem::is_symlink(p)</code> would just return <code>true</code> for <em>all kinds</em> of symlinks. </p> Ticket Beman Dawes Tue, 30 Nov 2010 16:53:33 GMT <link>https://svn.boost.org/trac10/ticket/4663#comment:3 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/4663#comment:3</guid> <description> <p> It would be most helpful if you could submit a patch. I also need test cases. </p> <p> Some pointers to Microsoft docs would be helpful. The last time I looked at junction points I came away very confused, and concerned about the reliability of possible code. </p> <p> Thanks, </p> <p> --Beman </p> <p> </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Beman Dawes</dc:creator> <pubDate>Tue, 31 May 2011 15:46:52 GMT</pubDate> <title>status changed; resolution set https://svn.boost.org/trac10/ticket/4663#comment:4 https://svn.boost.org/trac10/ticket/4663#comment:4 <ul> <li><strong>status</strong> <span class="trac-field-old">reopened</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">worksforme</span> </li> </ul> <p> No response after six months, so I'm closing the ticket. </p> <p> --Beman </p> Ticket