当前位置: 技术问答>linux和unix
求教大神关于samba服务器的问题?
来源: 互联网 发布时间:2017-05-10
本文导语: 设置好以后启动 nmbd smbd,确定成功启动了,下面是问题: [root@localhost xs]# mount -o user=xy.password=123456 //192.168.153.128/share /samba mount: block device //192.168.153.128/share is write-protected, mounting read-only mount: cannot mount...
设置好以后启动 nmbd smbd,确定成功启动了,下面是问题:
[root@localhost xs]# mount -o user=xy.password=123456 //192.168.153.128/share /samba
mount: block device //192.168.153.128/share is write-protected, mounting read-only
mount: cannot mount block device //192.168.153.128/share read-only
这个错误怎么回事,怎么解决呢?
以下是samba配置文件smb.conf内容(位置在:/usr/local/samba/lib 里面,不知位置对不对???):
[global]
workgroup=WORKGROUP
printcap name = /etc/printcap
load printers = yes
pinting = cups
[share]
comment = Share Directory
path = /tmp
writable = yes
[printers]
comment = Share Printers
path = /var/spool/samba
browseable = no
public = yes
printable = yes
[root@localhost xs]# mount -o user=xy.password=123456 //192.168.153.128/share /samba
mount: block device //192.168.153.128/share is write-protected, mounting read-only
mount: cannot mount block device //192.168.153.128/share read-only
这个错误怎么回事,怎么解决呢?
以下是samba配置文件smb.conf内容(位置在:/usr/local/samba/lib 里面,不知位置对不对???):
[global]
workgroup=WORKGROUP
printcap name = /etc/printcap
load printers = yes
pinting = cups
[share]
comment = Share Directory
path = /tmp
writable = yes
[printers]
comment = Share Printers
path = /var/spool/samba
browseable = no
public = yes
printable = yes
|
大致配置应该差不多。