QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 1035|回复: 0

[求助]samba用户权限的问题

[复制链接]
发表于 2006-5-22 13:25:17 | 显示全部楼层 |阅读模式
在内网中用samba建了个linux文件服务器,客户机为win操作系统,每个客户机的登陆用户已经加入samba用户中;
设想有一客户机用"admin"登陆后可以删除其它用户建立的文件,请问怎么做呢,主要是删除"共享文档"里其它用户建立的文件.

下面附上我的samba.conf
[global]
log file = /var/log/samba/log.%m
max log size = 1000
netbios name = SERVER
workgroup = JTJY
server string =

client code page=cp936
dos charset = cp936
unix charset = cp936

security = user
encrypt passwords = true
smb passwd file = /etc/samba/smbpasswd

map to guest = Bad User
map to guest = Bad Password
guest account = nobody

[共享文档]
comment = 共享文档
path = /home/netdir
public = yes
writable = yes
create mask = 0666

[FTP]
comment = FTP
path = /home/ftp
read only = no
public = yes

[homes]
comment = Home Directories
browseable = no
writable = yes
valid users = %S
create mode = 0664
directory mode = 0775
您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-11-2 16:26 , Processed in 0.044158 second(s), 15 queries .

© 2021 Powered by Discuz! X3.5.

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