hope i am correct here in this section.
smb configs come in many flavours.
and every config is uniqe, just like mine.
here a overview of mine
Code:
# Samba config file created using SWAT
# from UNKNOWN (192.168.0.238)
# Date: 2015/04/13 14:09:12
[global]
workgroup = ADDICTS
netbios name = filestuff
server string = Samba Server %v
interfaces = re0
bind interfaces only = Yes
security = SHARE
guest account = root
ntlm auth = No
log file = /var/log/samba/smbd.%m
max log size = 50
socket options = TCP_NODELAY IPTOS_LOWDELAY SO_RCVBUF=8192 SO_SNDBUF=8192
dns proxy = No
winbind nss info =
idmap config * : range =
idmap config * : backend = tdb
[usertuff]
comment = public stuff
path = /data/public
force user = root
read only = No
guest ok = Yes
writeable = yes
valid users = root, nobody
browseable = yes
public = no
force directory mode = 0744
force create mode = 0644
the goal, to make shares that log in users with a name and password, yes i know i am burning my hands with this,but it should work.
machine is configed for use as router on the local computerclub ,and i want to give some people access to data.
now the isue.
i know 0744 should be RWX R R
and 644 should be RW R R
but for some stupid reason all file are also 0744 and not 0644
google didnt gave usefull help, so any one a idea what i am doing wrong.
above config is just a test setup.