Linux Mount CIFS 共享?mount error 13 = Permission denied

How to Mount a CIFS Share in Linux Environment? 

经常在我们挂载cifs共享时遇到mount error 13 = Permission denied这类错误,请耐心的阅读完本文,我相信你将会有所收获.


mount.cifs - mount using the Common Internet File System (CIFS)


mount.cifs {service} {mount-point} [-o options]

I am getting sick and tired of this so called Smbfs replacement \"Cifs\". I have yet another error trying to mount a share on a Windows server 2003 standard edition machine. I get an error saying \"Permission denied\" despite entering the right credentials:

Cifs \"mount error 13 = Permission denied\" CIFS SUCKS

Most of people got this Permission Denied access when mounting a Windows Shared folder

following mounting ->

usually :

mount -t cifs //<MachineName>/<Shared Folder> /mnt/Shared -o username=<username>,password=<password>
give you error 13.

correct :

mount -t cifs //<MachineName>/<SharedFolder> /mnt/Shared -o username=<DomainName>/<username>,password=<password>


mount.cifs //<MachineName>/<SharedFolder> /mnt/Shared -o username=<DomainName>/<username>,password=<password>

Yes! the only deference is \"domain name:\" is missing. In case of No Domain try to put your there.
cifs does not locate domain itself (I guess).


本文最后更新于 2011-06-13 18:59:27 并被添加「linux cifs mount linux命令」标签,已有 79029 位童鞋阅读过。
本站使用「署名 4.0 国际」创作共享协议,可自由转载、引用,但需署名作者且注明文章出处


已有 6 条评论
  1. 坏坏男


    坏坏男 IP 属地:浙江省 /
    1. Rinald


      呵呵   那以后就常来哈   多多支持

      Rinald error: 375
  2. zxy


    zxy IP 属地:上海市
    1. Rinald


      Are you sure you really understand the content?

      Rinald error: 375
  3. ruixiang

    非常感谢 解决了我的问题

    ruixiang IP 属地:黑龙江省 / 哈尔滨市
  4. abc

    回复zxy:   In case of No Domain try to put your <MachineName> there  这没显示  <MachineName>!!

    abc error: 120