yuxing 发表于 2007-3-22 12:51:43

samba 只能读不能写

各位请帮忙。
smb.conf如下。目录也都设置成 777了,就是不能写,只能读。

      workgroup = HBME
      server string = HBME server
      netbios name = server
      client code page =936
      security = share
;       encrypt passwords = yes
      smb passwd file = /etc/samba/smbpasswd
      username map = /etc/samba/smbusers
      guest account = nobody

      comment =User directory
      path = /home/%U
      browseable = yes
      writable = yes

      path = /opt/abc
      comment = share documents
      writable = yes
      browseable = yes
;       valid users = yuxing
      public = yes
~

gugong 发表于 2007-3-23 10:00:35

http://www.linuxfans.org/nuke//modules.php?name=Forums&file=viewtopic&t=5204

zshmail 发表于 2007-3-24 18:36:58

path = /opt/abc

这句有问题,opt目录只有root有权限,把path改在/home下试试

LanFans 发表于 2007-4-3 19:39:17

chown -R +775 文件位置
页: [1]
查看完整版本: samba 只能读不能写