Skip to main content

Mount SMB Share in fstab Ubuntu

  • Edit /etc/fstab:

vi /etc/fstab

  • Enter the following:

#theShare
//theServer/theShare  /mnt/theMount  cifs  username=theUsername,password=thePassword,uid=1000,gid=104,iocharset=utf8,file_mode=0777,dir_mode=0777,nounix  0  0