Advertisement
c2c2_

fstab: Mount share

Jul 29th, 2023
12
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.24 KB | None | 0 0
  1. //[ip_or_name]/[share] /mnt/[name] cifs uid=0,gid=0,credentials=/path/to/creds.smb,iocharset=utf8,noperm 0 0
  2.  
  3.  
  4. ## replace items in [] and /path/to/creds.smb.
  5. ## uid/gid should be set to the user you want to own the mount. Default is root.
Tags: Linux fstab
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement