From owner-freebsd-questions@FreeBSD.ORG Tue Apr 14 16:57:47 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 238A81065675 for ; Tue, 14 Apr 2009 16:57:47 +0000 (UTC) (envelope-from andyjhiscock@yahoo.com) Received: from web26106.mail.ukl.yahoo.com (web26106.mail.ukl.yahoo.com [217.146.182.147]) by mx1.freebsd.org (Postfix) with SMTP id 912128FC16 for ; Tue, 14 Apr 2009 16:57:46 +0000 (UTC) (envelope-from andyjhiscock@yahoo.com) Received: (qmail 64428 invoked by uid 60001); 14 Apr 2009 16:31:04 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1239726664; bh=9O+GTbmyUa8mrRGfx6Hh64ZxcbS7WhjJi3M6ulnCorc=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type; b=c0296BLzWVVqDPcYTNW2/KtTZdyiuePkhc19DajnjE2HoD3dhK2f0HvF+nZ5juBxIgnOJPtU22utPMVvfH5NYuWN0Is1X4fFTPIlqsqVZVVW1l94hqRUixL/x1IlLfGa/Z3sDdOlcnjmWSkmCyZgfWo7Q6128p9gjP+b485lX5o= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type; b=cXAWX6DMNTypuoMZ5UT6Ikzr6akpx1kC9WSKsGHN/Sdm23sjLDDlNt+zn8VmMmERxpSySMT9VA3VRbSi7KQUaaI195wtdJgIgKAPLC/g3FWDwNte1RBVXFIgyE6yg7ug8zsavcLRijeIb7+8R8u4Jvv7RfAWZv6yviVaRM7XrPw=; Message-ID: <268096.61940.qm@web26106.mail.ukl.yahoo.com> X-YMail-OSG: fA4M8HAVM1lB_tlAlnu5WgaSZCFWBJpIjToYBotX1F.EUp9.wZFBVdbXfNRbBLtNGzRxLpdiheGCYDeaGjrYBfbpGuql2U9mPZp6wNhqRhmFeJ.OwLR_745imgypqiHzOXVPJRbLXRKB0bGwLcL9r_zMl_7JPI6k.epdOyOOGKW9sD6wC0jh9QskQOQN.sNL8PGWGNXUzXbJseHzsBMmQsV9qS4Tk_AYTALNK71hsufdkldHBOzltx4Y0WzTV6_Q2kHZh.ekhu5zCWxp_oAjN3XBLJ0xr8I1Lv3UZ0L9rvQTnJsnQA-- Received: from [86.28.230.47] by web26106.mail.ukl.yahoo.com via HTTP; Tue, 14 Apr 2009 16:31:03 GMT X-Mailer: YahooMailRC/1277.35 YahooMailWebService/0.7.289.1 Date: Tue, 14 Apr 2009 16:31:03 +0000 (GMT) From: Andy Hiscock To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Umask and Samba X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Apr 2009 16:57:47 -0000 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