Help get this topic noticed by sharing it on Twitter, Facebook, or email.
I’m confused

Symlinks (symbolic links) to other files *inside dropbox* are destroyed on change

Symlinks (symbolic links) to other files *inside dropbox* are destroyed when changed on a computer sharing the Dropbox file.
On the computer on which the symlink was created (OSX, probably Linux) the symlink remains a symlink through edits, and both ends are updated on change. Dropbox though, treats both files as unrelated files. If the symlink end is edited on another computer the symlink on the original computer is replaced with the changed file, destroying the relationship between the files.

Symlinks to directories work well so long as the computer on which the symlink is made is always on. If conflicts are introduced while that computer is disconnected, when that computer is reconnected it will pull down both changes, and whichever is made last will overwrite the other silently. The old file version will exist in Dropbox online, but the change is silent, so you probably won't know you've just lost information.

This is all confusing.

It'd be great if Dropbox could recognise and gracefully handle internal pointers (links, symbolic or hard), to allow more finegrained sharing that is currently possible.

If you don't intend to make this change I hope this report is Google-able enough that others may find it.
16 people have
this problem
+1
Reply
  • I’m confused
    I agree with what the post above says, although the problem is that whatever treatment is adopted it will always break the other behaviour. If the symlink itself is backed up, then the ability to link to folders outside dropbox is lost, but if the current behaviour is used then symlinks cannot be used with files or folders in the dropbox directory except to include more folders in the backup.

    Perhaps the middle ground would be as suggested above, that if a symlink points to something within the dropbox folder then it is backed up as a symlink. If it points outside then the existing behaviour is used.

    For the moment the best workaround I have is to copy symlinks via some other means between machines, which should leave everything as expected.

    EDIT: My supposed workaround has other issues, I have realised if I edit a symbolic link that I have recreated manually on two machines, then the file that it points to on the other machine will be overwritten by the new file it points to on the first machine, since the symbolic link will not be updated on the new machine! Very confusing... :-S
  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

    e.g. indifferent, undecided, unconcerned happy, confident, thankful, excited kidding, amused, unsure, silly sad, anxious, confused, frustrated

  • I’m frustrated
    1
    Symlinks should stay Symlinks. If they cannot be replicated onto another OS, just don't replicate them. Symlinks on windows might be replicated with junctions.
  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

    e.g. sad, anxious, confused, frustrated kidding, amused, unsure, silly indifferent, undecided, unconcerned happy, confident, thankful, excited

  • 1
    I put forward a suggestion on reddit today, check out the mock up of the Dropbox preferences:



    In theory it would cater for all uses cases?

    http://www.reddit.com/r/geek/comments...
  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

    e.g. sad, anxious, confused, frustrated kidding, amused, unsure, silly indifferent, undecided, unconcerned happy, confident, thankful, excited

  • I’m confused
    Even worst, I got in a case yesterday where I change file in a symlinked location on the original computer, but only the original file was updated and not both copy as I would have expected.

    ex:

    folderA
    -> file1 (only this file was changed in dropbox)
    symlinkToFolderA
    ->file1 (edit this file, but wasn't changed in dropbox)
  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

    e.g. sad, anxious, confused, frustrated kidding, amused, unsure, silly indifferent, undecided, unconcerned happy, confident, thankful, excited

  • Also bad! I've found that if I symlink to a folder outside of the dropbox folder, then, from the dropbox website, delete that folder - it deletes the content of the real folder! I wanted it to only remove the symlink. :(
  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

    e.g. sad, anxious, confused, frustrated kidding, amused, unsure, silly indifferent, undecided, unconcerned happy, confident, thankful, excited