From owner-freebsd-questions@FreeBSD.ORG Wed Feb 23 08:46:44 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 37BB416A4CE for ; Wed, 23 Feb 2005 08:46:44 +0000 (GMT) Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.204]) by mx1.FreeBSD.org (Postfix) with ESMTP id C26D843D2D for ; Wed, 23 Feb 2005 08:46:43 +0000 (GMT) (envelope-from gjbailey@gmail.com) Received: by wproxy.gmail.com with SMTP id 69so1219132wra for ; Wed, 23 Feb 2005 00:46:41 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type:content-transfer-encoding; b=VCIF+lxAsc1mH/zDCdNtpIbeIsWWN1jvUnhtodVlSn2g5fyO/+cvRIrvnQtwgPrC04g4J3z/KXeI6/AhWNoAa/iBiJIv8sr6Mz2U08N2JshtLHr4vDJPQ0zf7bT5F0S+Ec2CGRyIxU9Nhg78sei/Uegi8bVjxWp9ThiWVAihHtw= Received: by 10.54.50.13 with SMTP id x13mr290519wrx; Wed, 23 Feb 2005 00:46:40 -0800 (PST) Received: by 10.54.23.62 with HTTP; Wed, 23 Feb 2005 00:46:38 -0800 (PST) Message-ID: <48a5f32a05022300467d73a166@mail.gmail.com> Date: Wed, 23 Feb 2005 10:46:38 +0200 From: Gareth Bailey To: freebsd-questions Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: File permissions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Gareth Bailey List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Feb 2005 08:46:44 -0000 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