Mounting Cloud Storage on Linux

From CSEE Documentation
Revision as of 13:51, 28 April 2017 by Gweiss (talk | contribs)

Mounting Cloud Storage on Linux

Google Drive

This is to access Google Drive from a personal computer running GNOME3--it will not work from a CSEE maintained Linux system.

Open the GNOME Control Center (or “Settings”) application. If GNOME3 is not the default Desktop Environment, install gnome-control-center and then run it from the command line.

Click “Online Accounts”, click the plus symbol, and add your Google account. If this control is not available, install the gnome-online-accounts package.

Enter your UMBC username and password and accept GNOME to access your Google data. A copy of your credentials will be stored in the GNOME keyring.

The Google Drive will be accessible from Nautilus, the GNOME3 file manager. If the Google Drive isn't showing up, check to make sure that the gvfs-goa package is installed.

Using WebDAV

This service will only work to access data from a personal computer--this will not work on CSEE maintained Linux computers. Due to the way this works, it is NOT recommended to actually perform these steps since it breaks the default security that campus places on the accounts.

Install davfs2 Package

Ubuntu, Debian, and Mint

To install davfs2 on Ubuntu, Debian or Mint:

$ sudo apt-get install davfs2
CentOS, RHEL or Fedora

To install davfs2 on CentOS, RHEL or Fedora:

$ sudo yum install davfs2
Disable file locks

The WebDAV share exported by does not support file locks. Thus you need to disable file locks in the davfs2 configuration file located at /etc/davfs2/davfs2.conf. Otherwise, you will encounter "Input/output error" while attempting to create a file.

$ sudo vi /etc/davfs2/davfs2.conf
use_locks      	0

Create a mount point

mkdir ~/

replace "~/" with your preferred mount point

Add yourself to usergroup

This step is optional if you only want to mount as root.

$ sudo usermod -a -G davfs2 USERNAME

where "USERNAME" is your username

Edit fstab

Add the following to /etc/fstab. The "user" option allows you to mount as an unprivileged non-root user. /home/user/ davfs rw,user,noauto 0 0

Replace "/home/user/" with your own mount point.

Add external password to Box

This steps adds a new authentication method to a account. UMBC may no longer be able to track if this account gets compromised. It is NOT recommended to make this change.

Before you connect, you must create an external password through the Box web interface.

  1. Open an internet browser and log on to
  2. Click on your name in the upper right corner. In the drop down, click on “Account Settings”
  3. The bottom section bubble should say “Create External Password.” Click “Edit password”
  4. Create an external password.

Note: This password must be different from your email password

Run mount

The final step is to run mount.

$ mount

replacing "" with your mountpoint