Command above is used to mount windows network share on linux box but it is throwing an error mentioned below when trying to mount a win xp network share from a fedora core 6 box.
mount error 13 = Permission deniedThe 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.
Refer to the mount.cifs(8) manual page (e.g.man mount.cifs)
Bugzilla link to the bug: http://bugzilla.kernel.org/show_bug.cgi?id=7209
To avoid this error even in kernel version 2.6.18 and above. We need to use the network domain name with the mount command.
Working mount command irrespective of the bug is as below.
$mount -t cifs //win-share-hostname/share /mnt/win -o username=user,password=passwd,domain=xxx
make world open.