Linux中mount Windows中的共享文件夹

执行以下命令windows

 mount -t cifs  //ip地址/api /mnt/ -o user=user,pass=pass

提示以下错误:api

mount error(13): Permission denied
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)

解决方法:bash

    安装cifs协议包,想了解cifs协议的(我也不了解),能够本身百度学习一下ide

yum install cifs-utils

    而后执行学习

 mount -t cifs  //ip地址/api /mnt/ -o user=user,pass=pass

注意必定要关闭,windows系统的防火墙ip

相关文章
相关标签/搜索