From owner-freebsd-questions@FreeBSD.ORG Fri May 9 19:07:35 2003 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 45E3737B401 for ; Fri, 9 May 2003 19:07:35 -0700 (PDT) Received: from sccrmhc01.attbi.com (sccrmhc01.attbi.com [204.127.202.61]) by mx1.FreeBSD.org (Postfix) with ESMTP id 62FE243FBF for ; Fri, 9 May 2003 19:07:34 -0700 (PDT) (envelope-from freebsd-questions-local@be-well.no-ip.com) Received: from be-well.ilk.org (lowellg.ne.client2.attbi.com[24.147.188.198]) by attbi.com (sccrmhc01) with ESMTP id <20030510020733001003jc6ie>; Sat, 10 May 2003 02:07:33 +0000 Received: from be-well.ilk.org (lowellg.ne.client2.attbi.com [24.147.188.198] (may be forged)) by be-well.ilk.org (8.12.9/8.12.7) with ESMTP id h4A27WEH001002; Fri, 9 May 2003 22:07:33 -0400 (EDT) (envelope-from freebsd-questions-local@be-well.no-ip.com) Received: (from lowell@localhost) by be-well.ilk.org (8.12.9/8.12.6/Submit) id h4A27WHB000999; Fri, 9 May 2003 22:07:32 -0400 (EDT) X-Authentication-Warning: be-well.ilk.org: lowell set sender to freebsd-questions-local@be-well.ilk.org using -f Sender: lowell@be-well.no-ip.com To: Adam Olsen References: <1052510296.1141.0.camel@valhalla.dydns.com> From: Lowell Gilbert Date: 09 May 2003 22:07:32 -0400 In-Reply-To: <1052510296.1141.0.camel@valhalla.dydns.com> Message-ID: <44n0hvy2or.fsf@be-well.ilk.org> Lines: 25 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii cc: freebsd-questions@freebsd.org Subject: Re: fstab X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 10 May 2003 02:07:35 -0000 Adam Olsen writes: > I want to make it so that my vfat partition is > mounted at boot and writable by the user 'synic'. The steps I have > taken so far are these: > > The device is /dev/ad1s2 > The device has these permissions: crwxrwx--- 2 root operator 116, > 131090 May 8 04:12 /dev/ad2s1 > > synic is in the group operator > the fstab line looks like this: /dev/ad1s2 /mnt/ad1s2 > msdos rw 0 0 > > > What else do I need to do? I can write to the partition as root, but > never as the user "synic". By default, all the files in an msdosfs will have the permissions of the base directory (there are no concepts of real permissions or of users in that filesystem, so you can't do them separately). You can change the permissions of the mount point, or use any of the several other approaches described in "man mount_msdos". I assume you're running 4.x; the answer is slightly different otherwise.