Thursday, October 14, 2010

Cifs "mount error 13 = Permission denied"

Command
sudo mount -t cifs //servername/sharename /media/mountname -o username=xxx,password=xxx
Error
mount error 13 = Permission denied
Refer to the mount.cifs(8) manual page (e.g.man mount.cifs)
Cause
The error above is because of a bug in kernel which got in to the kernel version 2.6.18 and above. The same mount command works great for the kernel version 2.6.17 and below.
Bugzilla link to the bug: http://bugzilla.kernel.org/show_bug.cgi?id=7209
Solved
sudo smbmount //servername/sharename /media/mountname -o username=xxx,password=xxx,domain=xxx

Note

  • domain can use "workgroup" such as "domain=workgroup"

Refer
  • http://vijayk.blogspot.com/2008/09/cifs-mount-error-13-permission-denied.html

No comments:

Post a Comment

Popular Posts