How to Mount Your Box.com Storage in Ubuntu Desktop

August 5, 2014 — 32 Comments

mount box.com cloud storage in Ubuntu

This quick tutorial shows you how to mount and map your Box.com storage in Ubuntu desktop so that you can access your cloud storage within Nautilus file browser.

There are many cloud storage services available for Ubuntu Linux. Box.com is one of them that provides 10 GB free web space with 250 MB file upload size. It allows to access directly through WebDav protocol.

There is an open source project Box2Tux, it makes the configuration of WebDav protocol easy. All you need to do is insert your Box account name and password, then it allows you to access the cloud storage directly in Nautilus file browser by mounting it automatically at start up.

Box.com Storage in Nautilus File browser

NOTE that normal user only have read permission to the mounted storage, you need to open Nautilus with root for full access (drop and drop to upload, delete, etc…). To do so, run gksudo nautilus in terminal or in Alt+F2 ‘Run a command’ dash.

Mount Box.com Storage in Ubuntu:

1. First of first, install davfs2 (WebDav) from Ubuntu Software Center.

You can click the link below to bring up Softare Center and click the install button.

Click Install Davfs2

2. Press Ctrl+Alt+T on keyboard to open the terminal. When it opens, paste the commands below and run one by one:

Reconfigure davfs2 and select Yes to allow non-root user to mount the WebDav resource:

sudo dpkg-reconfigure davfs2

Download Box2Tux:

wget https://github.com/alfredobonino/Box2Tux/archive/master.zip

Extract the downloaded package:

unzip master.zip

Navigate to the result folder:

cd Box2Tux-master/

Give permission and run the box2tux:

chmod +x box2tux && ./box2tux

Input your box.com account and password when prompt:

Mount box.com storage

Once done, you should get box.com mounted just as a network drive on Unity Launcher. Enjoy!

via: github, lffl

I'm a freelance blogger who started using Ubuntu 5+ years ago and wishes to share my experiences and some useful tips with Ubuntu beginners and lovers. Please notify me if you find any typo/grammar/language mistakes. English is not my native language. Contact me on Google Plus or email to ubuntuhandbook1@gmail.com

32 responses to How to Mount Your Box.com Storage in Ubuntu Desktop

  1. Other file manager function: Thunar, Pcmanfm, dolphin, konqueror and other.

  2. get this result… Help please:
    /sbin/mount.davfs: Mounting failed.
    Could not authenticate to server: rejected Basic challenge

  3. Doh!

    I entered an incorrect password!

  4. Thanks for the this great solution. How to umount?

  5. this has proved to be pretty useless everytime I reboot it mounts as root only…
    and using it to read only is a waste of time, how do I uninstall it?

    thanks

  6. This is failing for me at the following …

    trevor@trevor-530U3C-530U4C:~$ unzip master.zip
    Archive: master.zip
    3b296e1145f2624791e49fabac44e966182b8617
    creating: Box2Tux-master/
    inflating: Box2Tux-master/LICENSE
    inflating: Box2Tux-master/README.md
    inflating: Box2Tux-master/box2tux
    inflating: Box2Tux-master/install-all.sh
    inflating: Box2Tux-master/install-arch.sh
    inflating: Box2Tux-master/install-debian.sh
    inflating: Box2Tux-master/install-fedora.sh
    trevor@trevor-530U3C-530U4C:~$ chmod +x box2tux && ./box2tux
    chmod: cannot access ‘box2tux’: No such file or directory
    trevor@trevor-530U3C-530U4C:~$ chmod +x box2tux && ./box2tux
    chmod: cannot access ‘box2tux’: No such file or directory
    trevor@trevor-530U3C-530U4C:~$ ^C

  7. For umount type in a terminal:
    umount /media/Box.com

  8. Keep getting following error:
    *** Error in `/sbin/mount.davfs’: double free or corruption (fasttop): 0x09f1d920 ***

  9. Fixed my problem of not being able to mount that drive in seconds.
    Thanks

  10. Thanks so much for taking the time and sharing. Works perfectly on Ubuntu 14.04.

  11. Hello everybody. The first time that I did that I’ve got no problems. Now my problem is that when I write ./box2tux I’ve got a mistake: Error al montar la ubicación: el volumen no implementa el montado. In English is more or less: Error mounting location: volume doesn’t implement mount. Any help? Thank you very much.

  12. Looks very good!

    However, after insalling it, I see that it tries to log in to ‘dav.box.com’, but, since I use a company account, it looks like the URL should be something like ‘companyName.dav.box.com’ (or something similar) instead…

    Does any one know how to do this?

    Thanks!

  13. I have box configured for two-factor authentication. When I run ./box2tux it won’t accept my password and I get a text on my phone with the 2 factor authentication code…how do i accomodate this…

    • The first password prompt is for your straight-up password. You’ll receive another password prompt that looks like you may have failed, and also should receive a two-factor auth message like you would logging into a new browser but longer. Type this 2FA code from the message at the second password prompt; this becomes your session’s password and should work until you log out of the dav.

  14. Thanks. It mounts. I can see it as a network drive and do usual operation (create folders, copy, move, etc.), but only in the nautilus environment.

    How do I access the Box.com directory from the command line (e.g. rsync operations and such)?

    Best regards,

  15. Thanks. But while trying to login to my box.com account, it keeps asking me for my password endlessly.
    You have a fix for me?

  16. Thanks, I can acces my files now. I’m a bit new to ubuntu, but I was wondering whether is it possible to acces and run code that is in the ‘box’ via terminal? Thanks!

  17. I have the following error:
    General input/output error while accessing /run/user/1000/gvfs/dav:host=dav.box.com,ssl=true/dav/PTMOA FOLDER/Forms/checkout_agreement.xls.

    Please help any one

  18. Hello,
    What I found out is that you do not need to install Box2Tux at all. You need to install Davfs2 which is the WebDAv client and only click on Connect to server option on nautilus. Type davs://dav.box.com/dav and enter box.com id name and password and
    Enjoy.

  19. I have setup mount in Ubuntu.

    Entered username and password for dev.box.com

    Now setup finished. Where i see my box files??

  20. In Ubuntu 15.10 I have to manually mount box.com. How do I get it to mount on startup?

  21. Ali Gottschalck March 3, 2016 at 10:30 am

    Works great at first shot on Ubuntu Mate 15.10 ! easiest solution of all
    Thanks a lot

  22. Thank you very much! I was having all kinds of trouble with the “standard” way without box2tux. This worked the first time with no issue in Ubuntu 16.04.

Leave a Reply

*

Text formatting is available via select HTML.

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>