[Cyberduck-trac] [Cyberduck] #6860: Synchronize subfolders erronously looks in similarly named symbolic links
Cyberduck
trac at trac.cyberduck.ch
Sun Sep 16 15:27:03 CEST 2012
#6860: Synchronize subfolders erronously looks in similarly named symbolic links
--------------------------+---------------------------
Reporter: Haraldb42 | Owner:
Type: defect | Status: new
Priority: normal | Milestone:
Component: core | Version: 4.2.1
Severity: major | Keywords:
Architecture: Intel | Platform: Mac OS X 10.8
--------------------------+---------------------------
When the synchronize function looks in subfolders, it erronously includes
local files that reside in a completely different folder that simply
happens to have the same name and being the target of a symbolic link. An
example makes it easier to understand:
0. Let's call the folders to be synchronized for 'MainFolder', same name
in the local and remote domains.
1. Both the local and remote 'MainFolder' have a subfolder called 'pics'.
2. Both the local and remote 'MainFolder' also have a symbolic link named
'picsCommon' that points to a folder named 'pics' that resides above
'MainFolder'.
3. When Synchronize compares and lists files in the the subfolder
'MainFolder/pics', it will ALSO include all files in the local
'picsCommon'!! That's very wrong! Thus, it lists the union of all files in
'MainFolder/pics' plus the files in the folder 'pics' that reside above
'MainFolder', as if they were all in 'MainFolder/pics'!
If I do a synchronize ONLY of 'MainFolder/pics', then it behaves as it
should because that does not contain any subfolders.
--
Ticket URL: <http://trac.cyberduck.ch/ticket/6860>
Cyberduck <http://cyberduck.ch>
Open source FTP, SFTP, WebDAV, Cloud Files, Google Docs & Amazon S3 Browser for Mac & Windows.
More information about the Cyberduck-trac
mailing list