mount -t cifs //10.100.100.250/产品服务器/待测库/FI Cloud/CICD/BuildRoot_Dev/ /cicd --verbose -o vers=1.0,username=xxxxxx,password='xxxxxx'
注意
1 路径空格需要转义 \_
2 需要指定vers=1.0
3 当密码中存在特殊字符时需要加单引号转义
卸载
umount -a -t cifs -l
20200109
今天挂载突然报错
mount error(13): Permission denied
增加选项 sec=ntlmssp
mount -t cifs //10.100.100.250/产品服务器/待测库/FI Cloud/CICD/BuildRoot_Dev/ /cicd --verbose -o sec=ntlm,vers=1.0,username=xxxx,password=xxxxxx
参考:
https://bbs.csdn.net/topics/390949081?page=1
http://unix.stackexchange.com/questions/124342/mount-error-13-permission-denied