我正在尝试将文件夹从 centos vm(版本 8)安装到另一个 centos vm(版本 7),但出现以下错误。有人可以让我知道这里出了什么问题吗?
mount.cifs -vvv //server-ip//workspaces/folder /tmpMount -o username=user
Password for user@//server-ip//workspaces/folder: ************
mount.cifs kernel mount options: ip=server-ip,unc=\\server-ip\,user=user,prefixpath=workspaces/folder,pass=********
mount error(13): Permission denied
smb.conf output
[global]
security = user
server role = standalone
client use spnego = no
client ntlmv2 auth = no
passdb backend = tdbsam
printing = cups
printcap name = cups
load printers = yes
cups options = raw
[workspaces]
path = /workspace/path
browseable = Yes
writable = no
guest ok = Yes
read only = Yes
以下是 dmesg 日志。我已禁用防火墙和 selinux 以确保没有任何东西阻止挂载 cifs。 smb.服务正在运行。不确定还需要检查什么。
Jan 28 15:01:26 localhost.localdomain notice kernel: Status code returned 0xc000006d NT_STATUS_LOGON_FAILURE
Jan 28 15:01:26 localhost.localdomain err kernel: CIFS VFS: Send error in SessSetup = -13
Jan 28 15:01:26 localhost.localdomain err kernel: CIFS VFS: cifs_mount failed w/return code = -13
[user@localhost ~]$ sestatus
SELinux status: disabled