From owner-freebsd-questions@FreeBSD.ORG Tue Oct 21 00:16:01 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 C898216A4B3 for ; Tue, 21 Oct 2003 00:16:01 -0700 (PDT) Received: from mail.caraldi.com (caraldi.com [62.212.102.95]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4484643FAF for ; Tue, 21 Oct 2003 00:16:00 -0700 (PDT) (envelope-from jbq@caraldi.com) Received: from watt.intra.caraldi.com (watt.intra.caraldi.com [192.168.100.101]) by mail.caraldi.com (Postfix) with ESMTP id 9967520EC for ; Tue, 21 Oct 2003 09:15:58 +0200 (CEST) Received: by watt.intra.caraldi.com (Postfix, from userid 1001) id 5EB232C; Tue, 21 Oct 2003 09:15:58 +0200 (CEST) Date: Tue, 21 Oct 2003 09:15:58 +0200 From: Jean-Baptiste Quenot To: FreeBSD Questions Message-ID: <20031021071556.GA22651@watt.intra.caraldi.com> Mail-Followup-To: FreeBSD Questions References: <20031020225226.795d57f0.pnmurphy@cogeco.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20031020225226.795d57f0.pnmurphy@cogeco.ca> User-Agent: Mutt/1.5.4i Subject: Re: Weirdness with permissions after mounting USB flash drive 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: Tue, 21 Oct 2003 07:16:02 -0000 * Paul Murphy: > I _can_ read/write to it as root, but I would really like to use it > as a non-root user. Any thoughts as to why this is happening? See FreeBSD FAQ[1]. Also, in /etc/fstab you may adjust the mode, see below -m700 for msdos filesystem: /dev/da0s1 /mnt/usbkey msdos rw,-m700,noauto 0 0 If /dev is mounted via devfs (FreeBSD 5), you may want to edit /etc/devfs.conf and add a line like below: perm da0s1 0666 Cheers, -- Jean-Baptiste Quenot http://caraldi.com/jbq/ [1] http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/disks.html#USER-FLOPPYMOUNT