From owner-freebsd-questions@FreeBSD.ORG Wed Feb 23 09:17:48 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 61B6B16A4CE for ; Wed, 23 Feb 2005 09:17:48 +0000 (GMT) Received: from sccmmhc91.asp.att.net (sccmmhc91.asp.att.net [204.127.203.211]) by mx1.FreeBSD.org (Postfix) with ESMTP id 91C4943D2D for ; Wed, 23 Feb 2005 09:17:47 +0000 (GMT) (envelope-from m.hauber@mchsi.com) Received: from wizard.valleygate.net (12-219-204-24.client.mchsi.com[12.219.204.24]) by sccmmhc91.asp.att.net (sccmmhc91) with ESMTP id <20050223091747m9100oups5e>; Wed, 23 Feb 2005 09:17:47 +0000 From: Mike Hauber To: freebsd-questions@freebsd.org Date: Wed, 23 Feb 2005 04:21:28 -0500 User-Agent: KMail/1.7.2 References: <48a5f32a05022300467d73a166@mail.gmail.com> In-Reply-To: <48a5f32a05022300467d73a166@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200502230421.30271.m.hauber@mchsi.com> cc: Gareth Bailey Subject: Re: File permissions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: m.hauber@mchsi.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Feb 2005 09:17:48 -0000 On Wednesday 23 February 2005 03:46 am, Gareth Bailey wrote: > Hi there, > > I need to set permissions on the /www/data-dist directory such > that when samba users create new files in it the ownership of > the files will automatically be set to www. > > How might i do this. I've had a look at the chmod and sticky > manpages with no luck. > > Thanks, > Gareth man smb.conf I think you want to "force group = www" for the shares you want owned by www. hth, Mike