QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 2028|回复: 3

samba 只能读不能写

[复制链接]
发表于 2007-3-22 12:51:43 | 显示全部楼层 |阅读模式
各位请帮忙。
smb.conf如下。目录也都设置成 777了,就是不能写,只能读。
[global]
        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
[home]
        comment =User directory
        path = /home/%U
        browseable = yes
        writable = yes
[doc]
        path = /opt/abc
        comment = share documents
        writable = yes
        browseable = yes
;       valid users = yuxing
        public = yes
~
发表于 2007-3-23 10:00:35 | 显示全部楼层
http://www.linuxfans.org/nuke//modules.php?name=Forums&file=viewtopic&t=5204
回复

使用道具 举报

发表于 2007-3-24 18:36:58 | 显示全部楼层
path = /opt/abc

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

使用道具 举报

发表于 2007-4-3 19:39:17 | 显示全部楼层
chown -R +775 文件位置
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-4-27 00:50 , Processed in 0.051904 second(s), 15 queries .

© 2021 Powered by Discuz! X3.5.

快速回复 返回顶部 返回列表