[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: mount -t cifs error: permission denied



Zach Wilkinson wrote:

[root host2 root]# mount -t cifs //192.168.1.100/c$ /mnt/cdrom -o user=administrator,pass=<password>
mount error 13 = Permission denied
Refer to the mount.cifs(8) manual page (e.g.man mount.cifs)
I get the same thing when attempting to mount the local samba server, which I can mount from WinXP.
The mount.cifs man page refers me to kernel docs...
From Documentation/filesystems/cifs.txt:
mount //ip_address_of_server/sharename /mnt_target -o user=username, pass=password
This mounts via smbfs, not cifs.
dmesg shows:
CIFS VFS: Send error in SessSetup = -13
CIFS VFS: cifs_mount failed w/return code = -13


Does it work if you do it like this-

smbmount or mount.cifs //192.168.1.100/c /mnt/cdrom -o user=administrator,pass=<password>

Usually you get an error when you use the IPC$ name. Make sure it is shared as "C" on the remote box.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]