From owner-freebsd-questions@FreeBSD.ORG Wed Apr 15 00:09:22 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 C63FD1065709 for ; Wed, 15 Apr 2009 00:09:22 +0000 (UTC) (envelope-from vogelke@hcst.com) Received: from beta.hcst.com (beta.hcst.com [192.52.183.241]) by mx1.freebsd.org (Postfix) with ESMTP id 2B0C48FC0C for ; Wed, 15 Apr 2009 00:09:21 +0000 (UTC) (envelope-from vogelke@hcst.com) Received: from beta.hcst.com (localhost [127.0.0.1]) by beta.hcst.com (8.13.8/8.13.8/Debian-3) with ESMTP id n3F09Lhx028801 for ; Tue, 14 Apr 2009 20:09:21 -0400 Received: (from vogelke@localhost) by beta.hcst.com (8.13.8/8.13.8/Submit) id n3F09LIg028800; Tue, 14 Apr 2009 20:09:21 -0400 Received: by kev.msw.wpafb.af.mil (Postfix, from userid 32768) id 0C330BE76; Tue, 14 Apr 2009 17:26:57 -0400 (EDT) To: freebsd-questions@freebsd.org In-reply-to: <268096.61940.qm@web26106.mail.ukl.yahoo.com> (message from Andy Hiscock on Tue, 14 Apr 2009 16:31:03 +0000 (GMT)) Organization: Oasis Systems Inc. X-Disclaimer: I don't speak for the USAF or Oasis. X-GPG-ID: 1024D/711752A0 2006-06-27 Karl Vogel X-GPG-Fingerprint: 56EB 6DBF 4224 C953 F417 CC99 4C7C 7D46 7117 52A0 Message-Id: <20090414212657.0C330BE76@kev.msw.wpafb.af.mil> Date: Tue, 14 Apr 2009 17:26:57 -0400 (EDT) From: vogelke+unix@pobox.com (Karl Vogel) Subject: Re: Umask and Samba X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: vogelke+unix@pobox.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Apr 2009 00:09:23 -0000 >> On Tue, 14 Apr 2009 16:31:03 +0000 (GMT), >> Andy Hiscock said: A> Ideally I would like to "create mask" to be set to generate -rw-rw----. A> Is there a way of working what the value should be? I use this in smb.conf, which allows user/group write and world read: force create mode = 0660 force directory mode = 0775 You might be able to turn world permissions off by using: create mask = 0740 or security mask = 0770 -- Karl Vogel I don't speak for the USAF or my company Drawing on my fine command of language, I said nothing.