From owner-freebsd-questions Thu Dec 10 17:57:55 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id RAA24718 for freebsd-questions-outgoing; Thu, 10 Dec 1998 17:57:55 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from n4hhe.ampr.org (tnt2-254.HiWAAY.net [208.147.148.254]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id RAA24712 for ; Thu, 10 Dec 1998 17:57:53 -0800 (PST) (envelope-from dkelly@n4hhe.ampr.org) Received: from n4hhe.ampr.org (localhost.ampr.org [127.0.0.1]) by n4hhe.ampr.org (8.9.1/8.9.1) with ESMTP id TAA02941; Thu, 10 Dec 1998 19:57:39 -0600 (CST) (envelope-from dkelly@n4hhe.ampr.org) Message-Id: <199812110157.TAA02941@n4hhe.ampr.org> X-Mailer: exmh version 2.0.2 2/24/98 To: "Steve Friedrich" cc: "FreeBSD Questions" From: David Kelly Subject: Re: Can't mount CD or floppies as non-super user In-reply-to: Message from "Steve Friedrich" of "Thu, 10 Dec 1998 14:11:13 EST." <199812101913.OAA19549@laker.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 10 Dec 1998 19:57:39 -0600 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG "Steve Friedrich" writes: > I need to be able to mount floppies and CDs from a general user account > (non-root). I found a mail in the archives stating that mount_msdos > was setuid, because it was likely to be used by non-admins, but my For floppies the easiest thing to do (IMHO) is to install the mtools port /usr/ports/emulators/mtools, and open the permissions on the floppy device /dev/rfd0 for the appropriate user. Probably best to create a group "floppy", add the users to that group, "chgrp floppy /dev/rfd0" and "chmod g+rw /dev/rfd0" For the CDROM, search the archives again but look for how to set up amd to automount the CDROM. The default amd config does a good job automounting NFS partitions. Wish it did CDOM too. What I haven't seen mentioned is how to umount an amd-mounted fs on demand (vs. the default timeout). I use symbolic links to /host/hostname/filesystem/ports/distfiles to share my downloaded distfile collection between several FreeBSD systems. Automagically mounts and umounts the host as needed. And over comes a problem old FreeBSD had of not being able to recover if a remote host serving a mounted filesystem disappeared. -- David Kelly N4HHE, dkelly@nospam.hiwaay.net ===================================================================== The human mind ordinarily operates at only ten percent of its capacity -- the rest is overhead for the operating system. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message