So, I'm thinking about my possibilities considering Dropbox is not supported on the encrypted ext4 filesystems anymore.

My first thought was, that I could create a new, unencrypted disk partition just for the Dropbox - is it possible to do it safely?

And if it is, then how?


My OS is Lubuntu 18.04 and my current disk looks like this, with my home folder being encrypted:

enter image description here

  • Faced with the same issue, I decided to move to pCloud. Not a perfect solution but seems to work (so far). – jwvh Oct 25 at 0:28

You can resize/shrink your Partition2 and create a new partition using a linux live drive, but it is very unreasonable to do this.

Why not just adding a new folder under somewhere else outside your home in original rootfs and make sure the owner and group is correct?

  • Thank you Alvin! I'm just not sure, that Dropbox can be placed outside the home folder... – Eenoku Oct 24 at 9:37
  • Of course you can. – Alvin Liang Oct 24 at 9:47
  • One thing, I don't know why but Dropbox has some strange limitation. I create /test under /, with normal user/group, but Dropbox refuses to use it. I'll need to use something like /test/test. I think this is a bug since I cannot move it back to my un-encrypted home after I move it out. – Alvin Liang Oct 24 at 9:58
  • Exactly! Do you have any workaround in mind? – Eenoku Oct 24 at 10:13

Since you have an ext4 filesystem already, you can just:

dropbox stop
sudo mkdir /my_dropbox_home
sudo chown -R $USER:$USER /my_dropbox_home
mv ~/Dropbox /my_dropbox_home/

Then run dropbox with that fake home folder:

HOME=/my_dropbox_home dropbox start

I got that trick from this answer.

If you didn't have an ext4 filesystem, then you could create a file with an ext4 partition inside it, and then mount that partition. I wrote a script to do that. Use at your own risk though!

Your Answer

 

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.