V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX 提问指南
ljh2057
V2EX  ›  问与答

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

  •  
  •   ljh2057 · 2021-02-04 13:34:25 +08:00 · 665 次点击
    这是一个创建于 1177 天前的主题,其中的信息可能已经有所发展或是发生改变。

    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 各种方式都试了,还是不行,请教各位有啥方法吗

    6 条回复    2021-02-06 13:00:35 +08:00
    ljh2057
        1
    ljh2057  
    OP
       2021-02-04 14:37:04 +08:00
    1
    ljh2057
        2
    ljh2057  
    OP
       2021-02-04 17:47:19 +08:00
    2
    qw2507
        3
    qw2507  
       2021-02-04 18:25:23 +08:00 via Android
    试试 vers=2.0
    ljh2057
        4
    ljh2057  
    OP
       2021-02-04 21:29:39 +08:00
    @qw2507 试了,invalid argument
    shenlanAZ
        5
    shenlanAZ  
       2021-02-05 11:12:47 +08:00
    "加密数据访问" 关掉这个试试
    ljh2057
        6
    ljh2057  
    OP
       2021-02-06 13:00:35 +08:00
    @shenlanAZ 请问这个在哪设置
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   2951 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 25ms · UTC 13:07 · PVG 21:07 · LAX 06:07 · JFK 09:07
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.