From owner-freebsd-questions Sat Apr 14 14:20:18 2001 Delivered-To: freebsd-questions@freebsd.org Received: from be-well.ilk.org (lowellg.ne.mediaone.net [24.147.184.128]) by hub.freebsd.org (Postfix) with ESMTP id AA6DC37B443 for ; Sat, 14 Apr 2001 14:20:14 -0700 (PDT) (envelope-from lowell@be-well.ilk.org) Received: (from lowell@localhost) by be-well.ilk.org (8.11.3/8.11.3) id f3ELKD808263; Sat, 14 Apr 2001 17:20:13 -0400 (EDT) (envelope-from lowell) To: freebsd-questions@freebsd.org Subject: Re: chowning mountpoints and devices References: <20010414181153.A41867@dogma.freebsd-uk.eu.org> From: Lowell Gilbert Date: 14 Apr 2001 17:20:13 -0400 In-Reply-To: jcm@FreeBSD-uk.eu.org's message of "14 Apr 2001 19:12:04 +0200" Message-ID: <44k84nqiuq.fsf@lowellg.ne.mediaone.net> Lines: 23 X-Mailer: Gnus v5.7/Emacs 20.7 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG jcm@FreeBSD-uk.eu.org (j mckitrick) writes: > I am trying to set things up so I do not have to be root to mount my zip > drive and floppy. > > I use sysctl vfs.usermount=1 > > but every time I chown the mountpoint and the device, I have to do it again > next time a reboot. Obviously, I can do this in a startup script, but is > there a better way? I don't know why you're seeing the permissions change just from a reboot (I don't), but for sharing a machine between different console users, either fbtab(5) or GiveConsole (depending on whether it's a virtual console or X login) can be useful. For my own system, where I need these things only rarely, I use "sudo mount /cdrom", which doesn't quite match the request, but at least doesn't leave root shells around afterwards. Generally, though, I recommend mtools. Most people use msdos filesystems on floppies and Zip drives anyway, so using DOS syntax is fairly natural. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message