394 points · by ronjouch · 8y ago · 415 comments
If instead you used dmcrypt and encrypted the whole device or partition you'd probably have no issue as it looks just like any other EXT4 FS to the system.
Would be a lot better if they specified what features they need the underlying FS to support.
That said, given that my Dropbox subscription just renewed (and that Linux is pretty much the only reason I'm still using it, since there is no OneDrive client I can rely on), I am really sad this seems to be a future direction for Dropbox.
> "The installer no longer offers the encrypted home option using ecryptfs-utils. It is recommended to use full-disk encryption instead for this release."
However, my IT company onboarded a media-intense client with insync and it has been nothing but a nightmare. There are hardcoded limits (like only syncing two files at a time, IIRC) that make it effectively useless for anything beyond small, personal use. It's cheap and you get what you pay for.
YMMV ^__^;
I also use Syncthing, which I am very impressed by, it works really well.
Maybe they’re doing uncommon stuff with ’em that uncommon filesystems cannot cope with... ;)
Thanks, I updated the title.
Also, when you consider that being offline for an extended period of time means that your files are not being synced, then the purpose of Dropbox is somewhat defeated. Basically Dropbox can't sync without connectivity and if you have connectivity then you would have access to the Keybase "file store" anyway.
Long term I do still plan on moving to NextCloud, the core dev team from owncloud moved over and I've always been happy with OC, but I need the time to actually figure out why I'm getting sync errors with the suggested setup after following all the suggested fixes.
One of the machines even runs an old version found in Debian stable repos, but there has been no issues syncing with machines running newer versions.
Only downside for me is that there's no iOS client.
That said, Ext4 is still supported, just not with encryption.
It's a terrible idea to not turn on hard drive encryption. Anyone who gets their hands on the machine can read and write to the drive by booting it with a thumb drive.
With the fragmentation of Linux, even the "most popular" distro may hold a tiny market share. The guys at dropbox probably know far more about their users than what is reflected in some arbitrary popularity contest, so I doubt it's either ignorance or stupidity that led them to this decision.
Edit: Actually I can't find that it was ever the default, but it was a pretty prominent option so I assume this decision is going to mess with a ton of customers.
Both are checkboxes, though, so one could select whichever they wanted. Full disk encryption is the most sensible one, though (better evil maid protection).
Step 1: "You can now use dropbox in fewer scenarios than before" Step 2: ??? Step 3: More customers paying more money
Dropbox is paid for and used in various places I work and personally because of the Linux support. (Their competitors ignore Linux for some reason.) In my case step 2 is going to be them losing at least $1,000 in annual revenue. And they won't have that the next year either (ie recurring revenue). Nor will they be part of future options for work or personal.
Ubuntu doesn't use ecryptfs (or even support it afaik) by default.
This does not appear to still be the case based on testing just now (creating a folder named ".foldername", containing a file named ".testfile" then verifying that they've synced up to OneDrive). Several years ago it didn't support syncing folders with a . in the name, but that was resolved 3 years ago.
With Microsoft's relatively new focus on Git, I can't imagine that problems with repositories stored in OneDrive folders would remain unfixed.
I will note that there are names that Windows Explorer won't let you create - notably, names beginning with a ".". That's an Explorer issue, not a OneDrive or filesystem issue - you can create such files and folders programmatically or from a command prompt.
dropboxforum thread here: https://www.dropboxforum.com/t5/Installation-and-desktop-app...
I mean, the Linux manpage itself says it's stable and can be used, with the inode number, to uniquely identify a file. http://man7.org/linux/man-pages/man2/statfs.2.html
I'm not surprised, though. Fancy copy-on-write filesystems like btrfs have some other subtle gotchas. If you allocate (like, really, not as a hole) a big file on btrfs and mmap it for write, you might see a SIGBUS upon writing because btrfs needed to recompress a block and the new compressed block didn't fit where the old one did.
I've gained a new appreciation for the predictability and simplicity of ext4.
Once saw a system that used inode numbers as "unique identifiers for files on local disk" and it turns out that on Linux / ext filesystems, they're not unique (they get reused if you delete a file and then create a new one). That team just decided to not support Linux at all.
There are even third parties that install it and manage it for you.
This is a shame because I just started using Dropbox significantly more to back up shared photos. Time to search for something else, I guess.
It is (funnily enough) even possible to enable _both_ kinds of encryption simultaneously.
I'd say that they don't use full-disk encryption _instead_ of home folder. They just prompt for it sooner (and it is not the same thing if you have a modestly old machine, or a machine you share with other users).
Edit: It's listed under "Other base system changes since 16.04 LTS" https://wiki.ubuntu.com/BionicBeaver/ReleaseNotes
I'm assuming encryptfs-ext4 has some attribute issue that prevents them for doing efficient deltas. That aside, what's the use case for encryptfs at all? Isn't it strictly worse than LUKS on the underlying volume or a volume file mounted via loopback?
>The supported file systems are NTFS for Windows, HFS+ or APFS for Mac, and Ext4 for Linux.
>A supported file system is required as Dropbox relies on extended attributes (X-attrs) to identify files in the Dropbox folder and keep them in sync. We will keep supporting only the most common file systems that support X-attrs, so we can ensure stability and a consistent experience. (emphasis mine)[1]
XFS may support xattrs but that doesn't mean that Dropbox officially supports it. They are pretty clear on ext4 being the only supported filesystem.
[1]https://www.dropboxforum.com/t5/Syncing-and-uploads/Linux-Dr...
Edit: added link to the proper comment in the Dropbox thread
If Dropbox go ahead with this I'm bailing. The only reason I use a managed service like this is so I don't have to care about the technical details (filesystems etc.)
I was expecting to still be using Dropbox for a while after that, but it's been surprisingly low maintenance after the initial setup, and it has replaced it perfectly for me :) Highly recommended for anyone bothered by this change.
It is nice to know where my data is.
If you're willing to invest setup effort it might also be worth considering Tahoe-LAFS's "GridSync" which seems to be making some progress as of late.
Unlike what their name (rsync) suggests, they do seem to support Windows clients and aren't *nix only:
1 - https://www.rsync.net/resources/howto/windows_backup_agent.h...
If you look at the filename on the linux download is says 2015 in the filename. Has the linux client gone untouched for 3 years?
Dropbox is violating their philosophy as a universal solution and squandering their key selling point for some small cost savings. What a horrible decision.
Time for some of us to start work on adding extended attributes to more filesystems?
Source: Using XFS at work for OpenStack Swift, which makes extensive use of xattrs and thus prefers to run on XFS.
So, if other programs follow suit, will we start seeing options to lie about the filesystem type?
Right now it just links to the second page of the discussion; the community moderator's message is on the first page.
The sync client has worked flawelessly for me so far. Plus you get CalDAV/CardDAV right out of the box.
Experienced users run plethora of filesystems which support the needs of dropbox.
IMHO, this is a lazy solution to a relatively simple problem.
I'm an architect for a Dropbox competitor. Sometimes we need to draw a line in the sand for what we support, and what we don't support. This is mostly due to balancing cost / benefit. A customer may do something strange that we don't support, and we have to weigh how many engineering resources it will take to support the customer. This can apply to unusual filesystems that we don't actively test our product with.
IMO, Dropbox did the right thing. It's only real technical users who get into different kinds of filesystems; and these are the same kind of users who can understand, "Dropbox only works on X, Y, and Z."
a- FS is something we support, great! Go on... b- FS is an unsupported one, so run the tests and if they pass warn the user: "Hey! We don't support this, but it looks like working. If it fails we can not support you. Are you sure? (Y/N)" c- FS is an unsupported one, so run the tests and if they fail tell the user: "Hey! We can not work on this FS, sorry.".
The good thing is you implement the tests once. Since, POSIX standard is a standard, so run the tests over that interface. You practically don't need to maintain anything about the tests. Maybe run a couple of unit tests over a simulated environment, that's all.
If you are going to pay for something, Insync and Google Drive make a decent Dropbox alternative. I'll be honest, though, I simply stopped using syncing solutions like these, so I really don't know if there are now better options across platforms.
Btw: Resilio Sync used to be known as BitTorrent Sync.
Their focus seems to be on cost cutting and better value extraction than growth and features these days.
Dropbox tells with a very unhelpful popup: "Move Dropbox location - Dropbox will stop syncing in November".
And on the forums, dropboxer Jay precises that starting Nov. 7, 2018, they're limiting support to Windows / NTFS, macOS / HFS+ & APFS, linux/Ext4. They say missing X-attrs support is what guides dropping other fs.
They didn't answer yet if displaying this message to users of common-through-Ubuntu Ext4+ecryptfs is intentional.
Colin is the founder, and also a HN celebrity because of this comment (which he regrets, but never gets old):
And then how does that compare on macOS where there's JHFS+/HFSX and APFS?
So, why would one pay?
Think nerd friendly and minimal, like NearlyFreeSpeech is to domain registrars
EDIT: Found it.
Just because Red Hat marked btrfs deprecated on their systems, doesn't mean the technology itself is deprecated.
Also, from what I've read, they deprecated it because of resources issues rather than tech issues (seems like they had 0 btrfs devs and lots of XFS specialists on the team).
SUSE is pretty much dead. Anything still running on that should be planning budget and resources for a migration.
For the record I would be very glad if I could seamlessy use ZFS, but from my perspective it looks like a lot of work that can break in unexpected places.
I used these instructions:
https://nixos.wiki/wiki/NixOS_on_ZFS
Ironically, I felt less of a need to use ZFS on NixOS. I don't have a large pool and snapshotting the system is not really necessary, since in NixOS you can always roll back to a non-GCed previous version on your system. But I use filesystem compression and might use snapshots on /home.
EDIT: Shit, misread -- those are the supported ones. Thanks for the headsmack. :-)
Also, I'm pretty sure Btrfs supports xattrs unless I'm missing something.
Yeah this is not how it works. This is not how any of this works
> A supported file system is required as Dropbox relies on extended attributes (X-attrs) to identify files in the Dropbox folder and keep them in sync. We will keep supporting only the most common file systems that support X-attrs, so we can ensure stability and a consistent experience.
Certainly XFS supports xattr and hence ideally should be supported. I don't know why they singled out ext4. I am running Dropbox on ext4 LUKS encrypted partition and I haven't seen the warning yet.
My guess at the time was that they were using it for cheaper rename detection, using an xattr UUID, instead of using heuristics to compare {inode, btime, mtime, size, name, folder}.
In other words, they would match up the xattr UUID across CREATE and DELETE events to merge them into RENAME events.
Missing RENAME events is pretty bad for the user experience as it can lead to a loss of version history when the file ID changes through the DELETE, CREATE events.
Anyone have any other ideas as to why they would be reliant on xattrs?
Lose the most active users, keep the ones paying for something they don't need.
Move to where? How do I get it to work on Ubuntu again?
Thankfully your options are not limited to either Dropbox or FTP. Thus people who want simplicity can have Dropbox (or similar) and people who want control can have sshfs or any number of other tools out there that require some assembly but also don't suffer from the numerous problems that pre-TCP/IP protocols like FTP suffer from.
How many files do you have? I've got 26000 files in my Mac's dropbox folder. (Granted, very few of them change more than once or twice a day; maybe 20 or so of those do.)
Slack has the better part of a billion dollars in funding for what's essentially resource-hungry IRC with pictures. Dropbox does little you couldn't accomplish with a server and rsync.
What I'm really eager to see is git for everyone else.
I intermittently maintain a list of these things at https://github.com/pjc50/pjc50.github.io/blob/master/secure-... ; none of them have ever been precisely what I wanted. The cheap alternative to Dropbox with Linux support you want was "Hubic" from OVH (edit: now discontinued)
Hubic has been discontinued recently as a non-core business to OVH[1].
Although it's arguably a more intelligent decission to share private files not with a company like dropbox.
You sync across your devices (or anything where you can run a standalone binary). Phone, PC, server, whatever. It's pretty good and very stable when your packager doesn't fuck up the service file (https://svnweb.freebsd.org/ports/head/net/syncthing/files/sy...).
> without the need to set up configure your home nas
That's only needed if you need access to your files from the outside world (which is probably a bad idea). For instance, my ~/Documents are syncthing-only, not available through my Nextcloud instance. Can't access my payslip from last year on my phone. Can't have it stolen through that channel either!
I set my grandmother up with Synctrayzor and she doesn't know the difference between that and Dropbox.
It is missing the ability to share things with a direct link, or share a repository or folder "easily" (read: in the same way it's done with Dropbox), but the trade off has been worth it for me.
My instinctive reaction is not to trust any brand new effort without more evidence of its correctness.
Where can I find more information on this? Search is failing me.
You run it on your machines and they will sync among themselves. No need for any cloud backend.
Some people with Synology or QNAP run an instance on their NAS.
Speaking of which, you can use such together with Cryptomator or GPG or whatever and synchronize your encrypted files. To any cloud. Or you can sync it to your NAS which stores them on an encrypted filesystem.
You can do that with Dropbox/Google Drive/etc as well. But I'd use that as yet another encrypted backup of my most important NAS content.
It is not like they are not implementing a feature but removing one.
And famously so.
Seriously.
Dropbox is but a new Linux kernel module away from being completely and utterly irrelevant.
$ insmod ifps
By the way, NTFS dates back to 1993. It not included in the expiry list. Every file system mentioned as losing support is newer than that, and they're all under active development and getting better all the time.
XFS became the default file system in Redhat 7 and derivatives. ecryptfs is the default for home directories on Ubuntu. They're talking about wiping out a significant proportion of Linux users here.
Which one of these are old?