ljh2057
V2EX  ›  问与答

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

  •  
  •   ljh2057 · Feb 4, 2021 · 1657 views
    This topic created in 1949 days ago, the information mentioned may be changed or developed.

    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 replies    2021-02-06 13:00:35 +08:00
    ljh2057
        1
    ljh2057  
    OP
       Feb 4, 2021
    1
    ljh2057
        2
    ljh2057  
    OP
       Feb 4, 2021
    2
    qw2507
        3
    qw2507  
       Feb 4, 2021 via Android
    试试 vers=2.0
    ljh2057
        4
    ljh2057  
    OP
       Feb 4, 2021
    @qw2507 试了,invalid argument
    WayneCmd
        5
    WayneCmd  
       Feb 5, 2021
    "加密数据访问" 关掉这个试试
    ljh2057
        6
    ljh2057  
    OP
       Feb 6, 2021
    @shenlanAZ 请问这个在哪设置
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1054 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 42ms · UTC 23:07 · PVG 07:07 · LAX 16:07 · JFK 19:07
    ♥ Do have faith in what you're doing.