Mount error(13): Permission denied on Linux Kernel 3.8

When you run Kernel 3.8 and try to mount a windows share you might end up with the “mount error(34): Permission denied” error even though your username and password are correct. The newer kernels don’t automatically support NTLM so when you mount a share you have to specify it yourself.

Here’s an example of the problem:

$ sudo mount //192.168.1.1/MyShare /media/MyShare/ -o username=myusername,password=mypassword
mount error(13): Permission denied
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)

You can solve it by adding “sec=ntlm” to your mount command, like this:

$ sudo mount //192.168.1.1/MyShare /media/MyShare/ -o username=myusername,password=mypassword,sec=ntlm

Now your share will mount without any issues.

Digiprove sealCopyright protected by Digiprove © 2013 Rene Molenaar

Tags: ,

Trackbacks/Pingbacks

  1. Mount error(13): Permission denied on Linux Kernel 3.8 | NicaLug - September 8, 2013

    […] Read more: http://networklessons.com/linux/mount-error13-permission-denied-on-linux-kernel-3-8/#ixzz2eHkPDHH0 […]

Leave a Reply