Skip to content

Instantly share code, notes, and snippets.

@leslie-leder
Last active November 20, 2015 11:28
Show Gist options
  • Save leslie-leder/9a41e0c812c566664916 to your computer and use it in GitHub Desktop.
Save leslie-leder/9a41e0c812c566664916 to your computer and use it in GitHub Desktop.

see also cifs manual

Install required package cifs-utils:

dnf install cifs-utils

If regular users shall be able to mount set mount.cifs permissions:

chmod u+s /sbin/mount.cifs

Edit /etc/fstab

//192.168.2.2/share /home/jpork/remotes/blackhole cifs rw,uid=1000,gid=1000,user=win,password=winPassword,domain=winDomain,users 0 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment