/etc/fstab
从13.04开始,我已经有一段年龄的人停止工作了:
//192.168.100.2/share /mnt/popcorn cifs username=MyUserName,password=MyPassword,user,gid=sambashare,file_mode=0664 0 0
它给了我:
mount /mnt/popcorn
mount error(13): Permission denied
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
dmesg
与沙漠中的阳光一样有用:
[ 622.471321] CIFS VFS: Send error in SessSetup = -13
[ 622.471458] CIFS VFS: cifs_mount failed w/return code = -13
我知道用户/密码组合是正确的,因为它可以正常工作:
bart@dosar:~$ smbclient //192.168.100.2/share --user=MyUserName
Enter nmt's password:
Domain=[WORKGROUP] OS=[Unix] Server=[Samba 3.0.32]
smb: \> ls
...
如何在Ubuntu 13.04上永久挂载CIFS / Samba共享?