ljh2057
V2EX  ›  问与答

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

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