Sunday 25 January 2015

Using Box.com in Ubuntu 14.04

The following instructions are taken from:
https://www.liberiangeek.net/2012/03/automatically-mount-box-cloud-storage-in-ubuntu-12-04-11-10/

TODO:

$ sudo apt-get install davfs2 

run the command below to reconfigure davfs2 so that regular users can mount storages

$ sudo dpkg-reconfigure davfs2 

run the command below to copy davfs2 folder to your home directory

$ sudo cp -r /etc/davfs2/ /home/elendh/.davfs2   

Then run the commands below to change the permissions so that you’re the owner

$ sudo chown -R elendh /home/elendh/.davfs2/ 
nano ~/.davfs2/secrets 

When the file opens, add the line shown below at the end and save.

https://www.box.com/dav

$ sudo nano /etc/fstab  

Then add the line shown below at the end and save the file.

https://www.box.com/dav/ /home/elendh/box davfs _netdev,rw,user 0 0


$ sudo adduser elendh davfs2 
$ mkdir ~/box 

Remember to replace all with your box account username, and with your box account password.
Restart and test

No comments:

Post a Comment