How to mount box.berkeley.edu in Ubuntu

A knowledge base article about How to mount box.berkeley.edu in Ubuntu provided by the UC Berkeley IT Service Hub - Knowledge Portal

To mount box.berkeley.edu in Ubuntu, you will first need to Create an external password for your UC Berkeley account. To do that, please follow the instructions below.

  1. In a browser, login to http://box.berkeley.edu

  2. Click on your account at the top right of the screen then select "Account Settings".


  3. Scroll down to the Authentication section then click "Create Password"




    Next you will need to run the following commands on your Linux box as a regular user.


        sudo apt install davfs2
        sudo dpkg-reconfigure davfs2 (select yes for unprivileged users)
        mkdir /home/$USERNAME/box
        sudo usermod -a -G davfs2 $USERNAME
        #modify with your editor of choice
            nano /etc/davfs2/davfs2.conf
                use_locks 0
        #modify with your editor of choice
            nano /etc/fstab
                https://dav.box.com/dav /home/$USERNAME/box davfs rw,user,noauto 0 0
        su $USERNAME
        mount /home/$USERNAME/box (enter your full @berkeley.edu email address for the username and use the password you created above)