Map a Drive (Cabinet) - Ubuntu (16.04 LTS)

NOTE: The following instructions assume your machine is on campus and connected to a UofS network connection; off campus users will need to use a VPN connection to tunnel into campus for the following steps to work.

View instructions to Map a Drive (Cabinet) with Linux here.

  • First, UBUNTU 16.04 (and XUBUNTU) need a supplemental helper package installed called “cifs-utils” 
  • Check if this package exists on your system. Open a Terminal window and type/paste:dpkg -l cifs-utils
  • If it reports that it is not installed, install it with the following command line:
    sudo apt-get install cifs-utils (enter your password when prompted)
  • Now Create a mount point for cabinet in your computer’s filesystem:sudo mkdir /mnt/cabinet
  • Change the ownership of this mount point to your normal linux user account:
    sudo chown my_linux_user_name /mnt/jade (substituting your linux login name for “my_linux_user_name”)
  • Now, set the SuperUser (suid) on mount and umount commands so you do not have to be root to mount cabinet:sudo chmod +s /bin/mount sudo chmod +s /bin/umount
  • Now, open the “fstab” file in your favourite text editor with the sudo command:For example:sudo pico /etc/fstab
    At the bottom of this text file, add/paste the following two lines (substituting your nsid where it says nsid) (Note: Pay close attention to spaces or lack thereof; this has to be exact)
  • #Connect to Cabinet
    //$ /mnt/cabinet cifs username=nsid,noauto,user 0 0
  • Save it: Press (^x) and Y, followed by enter

And now you can access cabinet…

  • Open a Terminal window and type/paste:mount /mnt/cabinet
  • (enter your nsid password when requested)
  • To View cabinet in Xwindows, open the “Files” file manager (or any file manager)
  • Click on Go>Enter Location
  • In the path, type /mnt/cabinet <enter>
Last modified on