linux - centos挂载ubuntu下samba的共享文件报错
Christopher Nolan
Christopher Nolan 2017-04-17 15:23:39
0
1
436

报错信息如下:

[root@localhost data]# mount -t cifs //10.1.1.115/js_htdocs /data/uhtdocs -o username=www Password: mount error 13 = Permission denied Refer to the mount.cifs(8) manual page (e.g.man mount.cifs) [root@localhost data]#

我装的是双系统,win7和ubuntu的,现在在ubuntu下用samba共享了文件夹,用户www,samba.conf配置如下:

[js_htdocs] comment = js_htdocs #path = /data/htdocs path = /media/jesse/E/htdocs public = yes writable = yes printable = no valid users=www create mask=0777 directory mask=0777 available = yes browseable = yes

/media/jesse/E/htdocs下是我在win7下的代码,win7磁盘格式ntfs,现在想让一台centos挂载我ubuntu下的/media/jesse/E/htdocs
怎么弄?

Christopher Nolan
Christopher Nolan

光阴似箭催人老,日月如移越少年。

Antworte allen (1)
伊谢尔伦

fstab下写入挂载信息试试
//10.1.1.115/js_htdocs (我是空格) /data/uhtdocs (我是空格) smbfs (我是空格) username=[username],password=[password] (我是空格) 0

    Neueste Downloads
    Mehr>
    Web-Effekte
    Quellcode der Website
    Website-Materialien
    Frontend-Vorlage
    Über uns Haftungsausschluss Sitemap
    Chinesische PHP-Website:Online-PHP-Schulung für das Gemeinwohl,Helfen Sie PHP-Lernenden, sich schnell weiterzuentwickeln!