From owner-freebsd-questions Tue Oct 27 09:04:45 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id JAA04755 for freebsd-questions-outgoing; Tue, 27 Oct 1998 09:04:45 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from castor.chuck (lucy.bedford.net [206.99.145.182]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id JAA04750 for ; Tue, 27 Oct 1998 09:04:40 -0800 (PST) (envelope-from listread@bedford.net) Received: (from listread@localhost) by castor.chuck (8.8.8/8.8.8) id LAA22499; Tue, 27 Oct 1998 11:42:16 -0500 (EST) (envelope-from listread) Message-Id: <199810271642.LAA22499@castor.chuck> Subject: Re: fstab options for unrestricted access to vfat partition In-Reply-To: from Conrad Sabatier at "Oct 25, 98 05:26:36 am" To: conrads@neosoft.com Date: Tue, 27 Oct 1998 11:42:16 -0500 (EST) Cc: questions@FreeBSD.ORG X-no-archive: yes X-Echelon: aerosol dispersal modalities Reply-to: djv@bedford.net From: "Woodchuck" X-Mailer: ELM [version 2.4ME+ PL38 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Conrad Sabatier wrote: > I feel really stupid asking this, but anyway... > > Can anyone suggest the correct options to use in /etc/fstab to mount my DOS > drive read/write *without* any permissions problems? Ideally, I would like to > "own" the drive as user "conrads", while still restricting access for other > users, but I'd even settle for completely open access. > > Right now, I have only the "rw" option in fstab, and am unable to read and/or > write certain files. I notice the "arch" flag is set on most of my dirs/files. > How can I get full access to the drive? > You may set the -u and -g options in /etc/fstab. This sample line mounts a msdos filesystem so that user djv group djv is the owner: /dev/sd0s1 /dos msdos rw,noauto,-u=djv,-g=djv 0 0 Dave -- Strangers know your loved ones' phone numbers!!!! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message