Data storage

WebDrive on Linux

INTRODUCTION

WebDrive makes it possible to reach your UT documents while you are working at home and/or on your mobile device. It is not possible to copy big files, like CDs or big programs; maximum file size is 30 MB.

Technique WebDrive

To reach your data, you use a WebDAV protocol. There are several WebDAV clients for different platforms (Apple Mac OS, iOS, Microsoft Windows and Ubuntu Linux). Because the data is transported via internet, you can reach your data nearly everywhere. You don’t need VPN connection and your data is secured by HTTPS connection.

BEFORE YOU GET STARTED

  • This manual has been written for Ubuntu, in other Linux distributions the steps are nearly identical.
  • This manual uses a consistent style of writing: references to text and buttons on screens are printed in italics, information that you have to enter yourself is printed in bold.

WEBDRIVE ON LINUX

STEP 1: INSTALL DAVFS2

  • Open a "terminal" programme
  • $ sudo apt-get install davfs2  (creates /usr/sbin/mount.davfs)
  • Answer ‘yes’ when asked to allow normal users to mount webdrive

STEP 2:  ONLY IF YOU ANSWERED ‘NO’ IN STEP 1

  • $ sudo dpkg-reconfigure davfs2
  • Answer "yes/ja" on the posed question

STEP 3: CREATE A DIRECTORY THAT THE MOUNT IS DIRECTET TO

  • $ sudo mkdir /media/webdrive

STEP 4: ADD TO /ETC/FSTAB

  • https://webdrive.utwente.nl    /media/webdrive    davfs    noauto,user,uid=username,gid=groupname 0 0
  • You can find uid & gid using
  • $ id

 STEP 5: CREATE ~/.DAVFS2/SECRETS

  • $ mkdir ~/.davfs2
  • edit ~/.davfs2/secrets and add:
  • /media/webdrive username password

STEP 6: CHANGE AUTHORISATION FILE

  • $ chmod 400 ~/.davfs2/secrets

STEP 7: ADD USER TO DAVFS2 GROUP

  • $ edit /etc/group and add user to group davfs2

STEP 8: MOUNT THE UT WEBDRIVE

  • $ mount /media/webdrive

Hereafter, the M: P: and U: drives are accessable via: /media/webdrive