Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Apr 2009 16:31:03 +0000 (GMT)
From:      Andy Hiscock <andyjhiscock@yahoo.com>
To:        freebsd-questions@freebsd.org
Subject:   Umask and Samba
Message-ID:  <268096.61940.qm@web26106.mail.ukl.yahoo.com>

next in thread | raw e-mail | index | archive | help
Hi there.=0A=0AHaving problems with create mask in samba since changing my =
umask in /etc/login.conf to 007.=0A=0AI have created a share folder in /usr=
/homes with mod 770.  Accessing and writing/creating files/directories via =
ftp is as expected (-rw-rw----) but when copying a file via samba I get a r=
eal mix of permissions, after many hours of playing with the create mask va=
lue in smb.conf I get typically:=0A=0A-rw-r--r--=0A-rw-r-rw--=0Aetc=0A=0AId=
eally I would like to "create mask" to be set to generate -rw-rw----.  Is t=
here a way of working what the value should be?=0A=0AFind below a copy of m=
y share section of smb.conf;=0A=0A[share]=0Apath=3D/usr/home/share=0Aread o=
nly=3Dno=0Aguest ok=3Dno=0Acreate mask=3D0330=0A=0AThanks in advance.=0A=0A=
=0A=0A      



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?268096.61940.qm>