Pages

Friday, January 15, 2016

Fun With Samba

This seems to be a simple way to share files betweem Windows 7 and Linux (because there is no NFS Client for Windows 7 Professional).  Everything makes sense until I try to mount.cifs in Debian 7:

mkdir ~/Desktop/Windows-Share
sudo mount.cifs //Clayton-PC/linuxcnc /home/geek/Desktop/Windows-Share -o user=geek
It asks for the sudo password, then complains:
mount  error(13): Permission denied.
Any hints? It knows who Clayton-PC is,  I can ping it.

6 comments:

  1. Have you tried using the -v for verbose switch on the mount command to get more info on what is going on?

    ReplyDelete
  2. Googling suggests user=Clayton-PC\geek.

    See http://www.linuxquestions.org/questions/linux-networking-3/cifs-mount-error-13-%3D-permission-denied-cifs-sucks-463271/

    ReplyDelete
  3. thanks all. -v provides no more information. The cifs-sucks page gave me more things to try, but none worked.

    ReplyDelete
  4. Did your searching turn up this? http://superuser.com/questions/675195/cannot-mount-windows-7-share-from-linux-using-cifs-mount-error13-permission

    ReplyDelete
  5. Too many things. I think I'll use sneakernet.

    ReplyDelete