- create a mount point (in this case, /mnt/bio-office)
- use the command
mountwith the option -t cifs to mount the remote share at the mount point.
- once the share is mounted, switch back to your unprivileged (non-root) user account to work.
- in the example below, username=karel is the username on files.brandeis.edu; uid=karelkarelsf indicates that I want the share to be mount owned by local user karelsf when mounted)
- when done, use the command
umountto umount the share.
[root@elephant ~]# mkdir /mnt/bio-office [root@elephant ~]# mount -t cifs -o username=karel,uid=karelkarelsf //files.brandeis.edu/bio-office /mnt/bio-office Password: [root@elephant ~]# ls /mnt/bio-office Access Information Faculty Course Evaluations Adjunct Appointments Faculty CVs [...] [root@elephant ~]# umount /mnt/bio-office