Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

You are taking strong positions on what is right or wrong when there is no objective answer and tradeoffs both directions.

> It is a user's responsibility to insure that a symlink will work elsewhere; cloud services should just copy the file, just like any other. The users who expect a symlink to trick a cloud service into special behaviour (like syncing folders elsewhere) are also wrong. You no more want a cloud service going off and "thinking" about a symlink, than you wanting it going off and "thinking" about porn it finds on your computer. These are just files; their contents or meaning are absolutely not any cloud service's concern.

Unison seems to be more designed for personal sync'ing than collaboration. That informs decisions.

First off, Unison cannot sync symlinks to Windows (or at least WinXP since they didn't exist until Vista) (http://www.cis.upenn.edu/~bcpierce/unison/download/releases/...).

If you take your position that symlinks should be sync'd opaquely (as a file with a symlink target), collaborative relationships that involve symlinks are broken without much warning when a collaborator uses windows XP (the most popular OS when Dropbox came out!).

At least following them (which Unison does allow with a setting) ensures Windows collaborators can see them.

Dropbox could probably make the change now (few XP users remain), but you have legacy issues of existing users relying on the "follow" behavior to sync content outside of their Dropbox.

> One can declare a directory atomic, forcing the user to choose at the directory level when there’s a conflict.

Not forcing users to make choices before upsync occurs is an explicit design decision of Dropbox. It ensures that if I power on my computer after being offline, things will quickly sync to the cloud -- I don't need to spend time making decisions.



>symlinks to Windows (or at least WinXP since they didn't exist until Vista)

The version of NTFS in windows xp and the version of windows explorer both supported symlinks just fine. There was just no user-mode api to create them. You could use a kernel driver to make them, or even mount the disk offline and make them


Great point (found tons of resources here: http://schinagl.priv.at/nt/hardlinkshellext/hardlinkshellext...)

Still a lot of restrictions here that would make in Dropbox's shoes circa 2008 not attempt to support them:

1. Kernel driver requirement requires admin rights which hurts installing ability

2. General instability (looks like applications might not respect symlinks right -- e.g. deletes could recursively delete contents within the symlink)

3. Won't work with users running older NTFS or FAT32 (e.g. XP upgrades) -- not sure how common that was in 2008 though.


> windows XP (the most popular OS when Dropbox came out!).

Symlinks actually worked in Dropbox when I used to use it in 2012...


Define "work"? Dropbox has never sync'd a symlink as a symlink - it follows then on the client machine and a copy is created on the server.

(Source: worked there)


When did you work there?


Hmm I'm pretty sure it used to. I used it and if it had followed symlinks that would have broken things for me and I wouldn't have used it.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: