Advertisement
Guest User

Untitled

a guest
Apr 16th, 2017
93
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.65 KB | None | 0 0
  1. sudo mount -t cifs //192.168.1.1/shareName /media/shareName -o uid=1000,gid=1000,rw,username='domain/name',password=pw
  2.  
  3. //192.168.1.1/shareName /media/shareName cifs uid=1000,gid=1000,rw,username='domain/name',password=pw 0 0
  4.  
  5. sudo mount -a
  6.  
  7. mount error(13): Permission denied
  8. Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
  9.  
  10. domain=MYDOMAIN,user=myusername
  11.  
  12. //192.168.1.100/music /media/Musik cifs credentials=/home/user/.smbcredentials 0 0
  13.  
  14. //192.168.1.2/photos /media/photos cifs credentials=/home/[credentialfile],iocharset=utf8,sec=ntlm,file_mode=0777,dir_mode=0777,uid=[my userid],gid=[my groupid],nobootwait 0 0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement