- 1、本文档共3页,可阅读全部内容。
- 2、有哪些信誉好的足球投注网站(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
Linuxmount命令挂载Windows共享文件夹
Linux mount 命令挂载 Windows 共享文件夹
听语音
百度经验:
在Linux下使用mount命令挂载Windows 上的共享文件夹。本经验使用Redhat Linux6.5和windows2012作为实践平台。百度经验:
工具/原料
Windows操作系统上建立共享文件夹
Linux操作系统。百度经验:
方法/步骤mount -t cifc windows共享文件夹 Linux /mnt路径
i.e. mount -t cifs //0/test /mnt/
Linux 会要求输入访问Windows 共享文件夹上的密码。
注意:
Linux中提示:
Unable to find suitable address.?
说明远程共享文件夹路径不存在。请仔细检查,并更正目录路径。
步骤阅读mount -t cifc windows共享文件夹 Linux /mnt路径
i.e. mount -t cifs //0/test /mnt/
注意:
Linux中提示:
mount error(13): Permission denied
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
解决方案:将访问Windows共享目录的用户名和密码直接加入到命令中。
步骤阅读
mount -t cifs -o username=WindowsLogin,password=passwordinWindows
?//0/test /mnt/
注意:该命令中,username为windows上的用户;password为window用户对应的密码
步骤阅读步骤3的命令也可以使用以下方式实现:
mount.cifs -o username=Administrator,password=PasswordForWindows //0/test /mnt/
步骤阅读通过步骤3和步骤4可以成功将windows共享文件夹挂载在/mnt目录下。不过由于mount命令只能由root权限用户使用。其挂载文件夹的默认owner和group都为root,并且不能通过chmod命令更改权限。
步骤阅读使用mount命令,给挂载共享文件夹指定owner和group.
mount.cifs -o username=Administrator,password=PasswordForWindows,uid=Mysa,gid=Mysa //0/test /mnt/
步骤阅读检查/mnt/中文件夹的owner和group。
步骤阅读
更改文件夹权限。给mount共享文件夹所在组的写权限。
mount.cifs -o username=Administrator,password=PasswordForWindows,Mysa,gid=Mysa,dir_mode=0777 //0/test /mnt/
步骤阅读
您可能关注的文档
- 20150912新生军训服务说明书.docx
- 12医院财务内部控制制度.docx
- 2014-2015年标准合同模板目录.docx
- 2001-2013全国电子设计大赛元器件清单.docx
- 141124《基金业务外包服务指引》说明.docx
- 201560号应急演练文件.docx
- 2015国培项目现场实践成绩鉴定表.docx
- 2015学年第一学期政教处工作计划.docx
- 140630肉牛养殖项目环境影响报告表全本公示.doc
- 2015室内设计专升本设计任务书(主题酒店).doc
- 10《那一年,面包飘香》教案.docx
- 13 花钟 教学设计-2023-2024学年三年级下册语文统编版.docx
- 2024-2025学年中职学校心理健康教育与霸凌预防的设计.docx
- 2024-2025学年中职生反思与行动的反霸凌教学设计.docx
- 2023-2024学年人教版小学数学一年级上册5.docx
- 4.1.1 线段、射线、直线 教学设计 2024-2025学年北师大版七年级数学上册.docx
- 川教版(2024)三年级上册 2.2在线导航选路线 教案.docx
- Unit 8 Dolls (教学设计)-2024-2025学年译林版(三起)英语四年级上册.docx
- 高一上学期体育与健康人教版 “贪吃蛇”耐久跑 教案.docx
- 第1课时 亿以内数的认识(教学设计)-2024-2025学年四年级上册数学人教版.docx
文档评论(0)