LinuxSir.cn,穿越时空的Linuxsir!

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

求助,我希望把我的SMB服务器设置成可写不可删除,怎么办??

[复制链接]
发表于 2004-11-23 17:12:04 | 显示全部楼层 |阅读模式
求助,我希望把我的SMB的WR目录设置成匿名用户可写但不可删除,怎么办??

[global]
null passwords = yes
bind interfaces only = yes
map to guest = Bad Password
encrypt passwords = yes
stat cache size = 128
server string = linux
getwd cache = yes
workgroup = workgroup
#shared mem size = 2097152
protocol = NT1
netbios name = linux
socket options = TCP_NODELAY SO_RCVBUF=32768 SO_SNDBUF=32768
read size = 32768
security = share
os level = 30
auto services = global
host msdfs = yes
[Admin]
read list = gbird
valid users = gbird,@gbird
writable = yes
path = /home/gbird
write list = gbird
public = yes


[wr]
comment = wr
path = /home/gbird/wr
browseable = yes
guest ok = yes
writable = yes
force create mode = 0550
create mode = 0550
force directory mode = 750
directory mode = 750


__________________
上面是我的脚本,不知道哪里写错了,还希望个位老大指点
假如chmod 777 /home/gbird/wr 的话,就是可写可删了~~~
我想弄成可写但不可删除,还请大家指点,谢谢
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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