Fedora 下的 mount windows文件系统

2 views
Skip to first unread message

LeoReis

unread,
May 9, 2007, 11:19:57 PM5/9/07
to Wisdom and beauty form a very rare combination.
Fedora core下面挂接windows文件系统指令
mount -t cifs //sharemachine/sharedir /localdir -o
username=xxx,password=xxx,domain=xxx

之前在fc5上面使用时不需要指定domain,新装的fc6上不指定domain则报如下错误,加上domain则正确。
mount error 13 = Permission denied
Refer to the mount.cifs(8) manual page (e.g.man mount.cifs)

不知是否因为在fc5安装时有不同于安装fc6的设置。总之问题解决了,虽然还不知道问题在哪,原因为何。有知道的麻烦告知一下。

另外提供共享的windows机器必须打开防火墙中文件共享的限制,即把 文件和打印机共享 添加到例外里面。文件共享会用到如下几个端口
tcp139 tcp445 udp137 udp138

Reply all
Reply to author
Forward
0 new messages