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

相關文章
相關標籤/搜索