[Samba] Saving files with wrong permission

Gerard gerard at seibercom.net
Wed Dec 28 02:14:55 GMT 2005


I am attempting to save files from MS Word into a directory located on a
FreeBSD 5.4 machine running Samba. For some reason, the files are always
saved with permission 766 rather than 666, which is what I want them
saved as.

This is the pertinent part of the smb.conf. file.


# Samba config file created using SWAT
# Date: 2005/08/21 11:05:15

# Global parameters
[global]
lanman auth = no
log file = /var/log/samba/log.%m
max log size = 50
load printers = no
preferred master = no
local master = no
domain master = no
dns proxy = no
wins server = 192.168.0.3
ldap ssl = No
netbios name = budman
restrict anonymous = no
max protocol = NT
server signing = Auto

[Send]
comment = DADA Scheduled Mail Directory
path = /usr/home/xxx/.dada_files/.send
valid users = xxx, xxxxxx, xxxxxx
admin users = xxx, xxxxxx
write list = xxx, xxxxxx
force user = xxx
force group = xxx
read only = No
force create mode = 0666
force directory mode = 0666

The force user and force group work correctly. What else should I look
for to solve this problem?


-- 
Gerard Seibert
gerard at seibercom.net



More information about the samba mailing list