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

Create an external password for your UC Berkeley account.

    In a browser, login to box.berkeley.edu
    Click on your account at the top right of the screen then select account settings
    Scroll down to the authentication section then click create password

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)