同一块 Nas 盘 windows 挂载没问题 Centos mount cifs 出现 Permission denid 问题(username 和 password 确认没问题)

2021-02-04 13:34:25 +08:00
 ljh2057

Centos 7 内核 3.10 cifs Version 6.2
挂载命令:
mount -t cifs -v //ip/gaofen /opt/data -o username="XXXX",password="XXXX",domain=XXXX,vers=1.0,sec=ntlm
返回:
mount error(13): Permission denied Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
查看 /var/log/messages 内容如下:
13:30:35 localhost kernel: CIFS VFS: cifs_mount failed w/return code = -13

sec 各种方式都试了,还是不行,请教各位有啥方法吗

680 次点击
所在节点    问与答
6 条回复
ljh2057
2021-02-04 14:37:04 +08:00
1
ljh2057
2021-02-04 17:47:19 +08:00
2
qw2507
2021-02-04 18:25:23 +08:00
试试 vers=2.0
ljh2057
2021-02-04 21:29:39 +08:00
@qw2507 试了,invalid argument
shenlanAZ
2021-02-05 11:12:47 +08:00
"加密数据访问" 关掉这个试试
ljh2057
2021-02-06 13:00:35 +08:00
@shenlanAZ 请问这个在哪设置

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/751224

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX