试图在Linux上挂载Windows文件夹 - 收到错误 [英] Trying to mount windows folder on Linux - getting error

查看:122
本文介绍了试图在Linux上挂载Windows文件夹 - 收到错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

尝试在Linux计算机上挂载Windows文件夹,收到此错误。我有一个名为CheckIn的文件夹。在Windows上,我把那个文件夹作为网络共享。

ON lInux,我试图通过挂载访问该文件夹,得到错误无法解决挂载点。


#mkdir / mnt / winstuff

#smbmount \\windows-machine-ip-addr \CheckIn

无法解析挂载点

#ps -eaf | grep smb

root 27420 1 0 Dec03? 00:00:00 smbd -D

root 32063 30395 0 10:27 pts / 6 00:00:00 grep smb

Trying to mount windows folder on Linux machine, getting this error. I have a folder called "CheckIn" on windows, I made that folder as Network sharing.
ON lInux, I tried to access that folder by mounting, getting error "Could not resolve mount point".

# mkdir /mnt/winstuff
# smbmount \\windows-machine-ip-addr\CheckIn
Could not resolve mount point
# ps -eaf | grep smb
root 27420 1 0 Dec03 ? 00:00:00 smbd -D
root 32063 30395 0 10:27 pts/6 00:00:00 grep smb
#

推荐答案

最后挂载,我之前没有通过用户名/密码,现在我可以访问文件夹,但是如果我试图进入文件夹内,获得权限被拒绝

Finally mounted, I was not pass username/password earlier, now I can access folder, but if I tried to go inside folder, getting "permission denied"


mount -t smbfs -o username = xyz,password = xyzp // win-ip-addr / main_folder / mnt / winstuff /
mount -t smbfs -o username=xyz,password=xyzp //win-ip-addr/main_folder /mnt/winstuff/


cd / mnt / winstuff /
cd /mnt/winstuff/


这篇关于试图在Linux上挂载Windows文件夹 - 收到错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆