Re:Dropbox no longer follows symlinks to items outside of yo...
by y0y on Saturday August 31, 2019 @07:32AM
(#20845712)
Sounds like that should apply to Dropbox, as well.
[ Parent
| on HN ]
Re:Dropbox no longer follows symlinks to items outside of yo...
by theaino on Saturday August 31, 2019 @10:24AM
(#20846434)
No, because Dropbox is a file syncing utility so symlinks, which are special files that point to other files, should be synced as symlinks. Replacing the symlink with the target file or directory is obviously broken behavior.
Re:Dropbox no longer follows symlinks to items outside of yo...
by zimpenfish on Saturday August 31, 2019 @10:37AM
(#20846524)
> symlinks, which are special files that point to other files, should be synced as symlinks
How would that work on, e.g., the iOS client? Or a Windows client, even?
Re:Dropbox no longer follows symlinks to items outside of yo...
by TeMPOraL on Saturday August 31, 2019 @07:39AM
(#20845738)
Syncing tools are tricky because they bridge and overlap (at least) two filesystems - local and remote. It's not obvious how to handle symlinks there in general case. The default behavior dictated by filesystem abstraction is wrong (would duplicate files and break links). There are multiple other ways to handle it, but it's not clear what's best.
Re:Dropbox no longer follows symlinks to items outside of yo...
by cowsandmilk on Saturday August 31, 2019 @07:56AM
(#20845788)
Explain what was wrong with Dropbox’s previous behavior (which is described in the link).
Re:Dropbox no longer follows symlinks to items outside of yo...
by Dylan16807 on Saturday August 31, 2019 @08:08AM
(#20845829)
"would duplicate files and break links"
And did the previous behavior preserve symlinks that are located inside a folder in Dropbox and link to somewhere else inside the same folder? Because a symlink-blind program would screw that up royally.