LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 645|回复: 1

SAMBA只能READ ONLY,不能写入文件

[复制链接]
发表于 2005-7-3 18:05:59 | 显示全部楼层 |阅读模式
#
# Sample configuration file for the Samba suite for Debian GNU/Linux.
#
#
# This is the main Samba configuration file. You should read the
# smb.conf(5) manual page in order to understand the options listed
# here. Samba has a huge number of configurable options most of which
# are not shown in this example
#
# Any line which starts with a ; (semi-colon) or a # (hash)
# is a comment and is ignored. In this example we will use a #
# for commentary and a ; for parts of the config file that you
# may wish to enable
#
# NOTE: Whenever you modify this file you should run the command
# "testparm" to check that you have not many any basic syntactic
# errors.
#

#======================= Global Settings =======================

[global]
        log file = /var/log/samba/log.%m
        passwd chat = *Enter\snew\sUNIX\spassword:* %n\n *Retype\snew\sUNIX\spassword:* %n\n
        obey pam restrictions = yes
        socket options = TCP_NODELAY
        username map = /etc/samba/user.map
        encrypt passwords = yes
        public = yes
        passdb backend = tdbsam guest
        passwd program = /usr/bin/passwd %u
        allow hosts = 192.168.1.
        dns proxy = no
        netbios name = gogogo
        writeable = yes
        delete readonly = yes
        server string = %h server (Samba %v)
        path = /file
        workgroup = 8
        os level = 20
        comment = /file
        syslog = 0
        panic action = /usr/share/samba/panic-action %d
        max log size = 1000



[linux]
        comment = /
        path = /


请求帮助~
发表于 2005-7-14 09:21:03 | 显示全部楼层

权限

将该目录权限设为777就可以随便操作啦
回复 支持 反对

使用道具 举报

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

本版积分规则

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