From owner-freebsd-questions Fri Aug 9 11:59:48 2002 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 DA51937B400 for ; Fri, 9 Aug 2002 11:59:45 -0700 (PDT) Received: from visimation.com (visimation.com [206.169.230.71]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6EF1F43E72 for ; Fri, 9 Aug 2002 11:59:45 -0700 (PDT) (envelope-from adaml@visimation.com) Received: from Spooler by visimation.com (Mercury/32 v3.31) ID MO00064A; 9 Aug 02 11:59:45 -0700 Received: from spooler by visimation.com (Mercury/32 v3.31); 9 Aug 02 11:59:32 -0700 Received: from 5adam5 (10.0.0.107) by visimation.com (Mercury/32 v3.31) with ESMTP ID MG000649; 9 Aug 02 11:59:32 -0700 Reply-To: From: "Adam Lofstedt" To: "'freebsd-questions'" Subject: Samba and folder file permissions Date: Fri, 9 Aug 2002 12:00:25 -0700 Organization: Visimation, Inc. Message-ID: <000001c23fd7$062260b0$6601a8c0@5adam5> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.3416 Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Can folder permissions be inherited in FreeBSD? Here is my situation: We have a FreeBSD ftp server. Our clients are given accounts on the box for ftp access and are chrooted using ftpchroot file. The purpose of the ftp accounts is to give our clients access to the latest builds of the software programs that we develop for them. We also have a Windoze server that does automated builds of the software, and can either drop the programs into a local folder, or place them on a mapped network drive. Instead of manually moving the files from the Windoze box via ftp to the home folder of the client on the FreeBSD box, I installed Samba so that the build machine could just drop it's program onto the network share. Since the build machine only works with mapped drives, I thought I would share the /home directory on the FreeBSD box, and just tell the build script to drop customer1.exe into /home/customer1. The problem is permissions. When I map the network drive, I map it using a generic username/password, rather than mapping a separate drive for each client's home folder. In my Samba config, I give access to the /home directory to this user's folder. However, this Samba user cannot write to the individual client's directory within /home. What I want is a way to give this generic user permission to write to each folder within /home. How can I get folder permission inheritance? Please CC me on any response, I get the digest version. Thanks very much, Adam Lofstedt To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message