linux smb配置 不修改git权限

[root@localhost ~]# cat /etc/samba/smb.conf
map archive = no
map hidden = no
map read only = no
map system = no
store dos attributes = yes

[global]
workgroup = WORKGROUP
server string = CentOS-File-Srv
netbios name = CentOS-File-Srv
log file = /var/log/samba/log.%m
max log size = 50
security = user
passdb backend = tdbsam
map to guest = bad user
dns proxy = yes
load printers = no
printing = bsd
printcap name = /dev/null
disable spoolss = yes
[wbq]
comment = My share
path = /home/wbq/
public = yes
writable = yes
browsable = yes
guest ok = yes
guest only = yes
create mode = 0777
directory mode = 0777
printable = no
write list = +staff
force user = root
force group = root
 

你可能感兴趣的:(linux-工具安装)