Mount Shared Folder

Posted on

On Linux Create a local directory and mount the remote share:
Replace with correct values listed below

sudo mkdir /mnt/localalias mount -t cifs //server/share /mnt/SharedFolder
  • /mnt/: the directory where the share is to be mounted
  • localalias: the local alias name(local directory name)
  • //server: is your SAMBA computer name (dns or netbios) or hostname
  • /share: is the SAMBA share name
  • /mnt/SharedFolder: is the shared folder(directory) name being shared by SAMBA

Depending on the access the samba share folder is granted ex: if you give your share ‘Everyone’ read (and write) 777 access nothing else is required, otherwise you must add credentials at mount time:

sudo mount -t cifs //server/share /mnt/SharedFolder -o user=user,pass=password,dom=domain

*replace user=[user] and pass=[password] with system credentials
To unmount or remove samba folder

sudo umount /mnt/SharedFolder

On Windows You can Select Mount Network Share to map to MY Computer.