← Back to team overview

linuxdcpp-team team mailing list archive

[Bug 653295] Re: Support Win32 Symbolic Links when indexing share

 

After your report I tried to check what'd need to follow symlinks, it'd need modifications in the FileFindIter class in dcpp/File.cpp and in the ShareManager::buildTree function. There are clear examples in the net about how to detect a symlink but it wasn't clear to me how to follow them (getting the real path the link points to). 
Good luck :)

** Changed in: dcplusplus
       Status: New => Confirmed

** Changed in: dcplusplus
   Importance: Undecided => Low

-- 
Support Win32 Symbolic Links when indexing share
https://bugs.launchpad.net/bugs/653295
You received this bug notification because you are a member of
Dcplusplus-team, which is subscribed to DC++.

Status in DC++: Confirmed

Bug description:
I want to share a directory which contains a number of files linked to via symbolic links (http://msdn.microsoft.com/en-us/library/aa365680%28VS.85%29.aspx). However the index/hashing thing seems to fail, skip, or otherwise just not work on large numbers of the files. The files physical locations the links target are spread across a number of physical locations (including some shared network locations) and also includes some personal files in the same directory (hence sym linking the files I want and not sharing the directory) that I do not wish to share.

Is there anything I can do about this? Symbolic links are supposed to be a file system feature and transparent so I don't really see why this is failing to work :(





References