From owner-freebsd-questions@FreeBSD.ORG Fri Mar 9 22:10:55 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 3759A16A401 for ; Fri, 9 Mar 2007 22:10:55 +0000 (UTC) (envelope-from freebsd@untoldfaith.com) Received: from mail.redinsight.com (h-68-165-100-2.dnvtco56.covad.net [68.165.100.2]) by mx1.freebsd.org (Postfix) with ESMTP id CF8E613C442 for ; Fri, 9 Mar 2007 22:10:54 +0000 (UTC) (envelope-from freebsd@untoldfaith.com) Received: from [192.168.31.19] by mail.redinsight.com (Merak 8.9.1) with ASMTP (SSL) id OZT68754 for ; Fri, 09 Mar 2007 15:10:54 -0700 Mime-Version: 1.0 (Apple Message framework v752.3) Content-Transfer-Encoding: 7bit Message-Id: <193E69CC-98DA-49B1-B89F-3DC47EE92FFF@untoldfaith.com> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed To: freebsd-questions@freebsd.org From: Troy Schultz Date: Fri, 9 Mar 2007 15:11:03 -0700 X-Mailer: Apple Mail (2.752.3) X-Spam: Bypass=TO Subject: Mounting into a jail 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: Fri, 09 Mar 2007 22:10:55 -0000 Hello, I am running FreeBSD 6.2. I am currently mounting a smb share and then remounting the smb mount into a jail with nullfs. /etc/fstab # smbfs mount //@/ /path/to/smb/mount smbfs rw 0 0 # local mount /path/to/smb/mount /path/to/jail/directory nullfs rw,late 0 0 The main reason I am using this jail is for a webserver and I need to have the web developer be able to write to this samba share I originally tried mounting in fstab the smb share like this //@/ /path/to/smb/mount smbfs rw,uid=www 0 0 however, this did not work so I ended up making the share point owned by the user and group www this took care of it but I was wondering if there was a better way to do this as far as passing through to a jail and maybe getting the uid to actually work from within the fstab file. Any suggestions would be welcomed. Thanks, Troy