Friday, January 2, 2009

Cifs "mount error 13 = Permission denied"

This was a huge problem in samba especially in Ubuntu. It seems that the new kernal is to blame.
Whenever I issued a command like

mount -t smbfs // /share/ -o username=guest,password=

I got the error

mount error 13 = Permission denied
Refer to the mount.cifs(8) manual page ( mount.cifs)

A bug report is found

And a possible solution is given here.(

However it didn't help when I gave this command,

mount -t smbfs // /share/ -o username=guest,password=

After a lot of experimenting I realised that it fails sometimes if there is no password specified. So I added a password to the Windows share and gave the following command.

mount -t smbfs // /share/ -o username=guest,password=gjf67g,domain=MSHOME

It worked !!!

For many other win shares I didn't specify password and the first command worked fine. If anyone knows the reason for this discrepancy please post a comment.

No comments:

Removing audio noise from a video

The basic steps are to extract the audio, remove noise, and then re-insert the noise-free audio back into the video wrapper. Step I: Ext...