From owner-freebsd-questions Mon Jun 5 6:43: 0 2000 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 6CE4537B772 for ; Mon, 5 Jun 2000 06:42:55 -0700 (PDT) (envelope-from lowell@be-well.ilk.org) Received: (from lowell@localhost) by be-well.ilk.org (8.9.3/8.9.3) id JAA94205; Mon, 5 Jun 2000 09:42:50 -0400 (EDT) (envelope-from lowell) From: Lowell Gilbert To: freebsd-questions@freebsd.org Subject: Re: User-mounting floppies (was Re: stupid questions) References: <20000605145430.A1865@physics.iisc.ernet.in> <200006051242.HAA03938@freeside.fc.net> <20000605152024.A31021@denary.brwn.org> Date: 05 Jun 2000 09:42:50 -0400 In-Reply-To: Willem Brown's message of "Mon, 5 Jun 2000 15:20:24 +0200" Message-ID: <44og5gp7l1.fsf@lowellg.ne.mediaone.net> Lines: 22 X-Mailer: Gnus v5.7/Emacs 20.6 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Willem Brown writes: > If you were to create another group, called floppy or something. Change > the group on /dev/fd0 and the mount point to floppy with mod 0660, would > that not solve the problem without allowing for the opportunity to break > other things? This works fine for a system that's assumed to be single-user, and on which all of the users are assumed to be trusted. That *was* the assumption of the person to whom you were responding, but it's something you have to be a little careful with. Note that in that situation, there are a *lot* of solutions that will work fine. One of the hardest cases is that of a public "terminal room," where not only can't the users be given root powers, but their files have to be protected from *each* *other* as well, and only the person with physical access to the drive should be able to mount (or umount) the device. In FreeBSD, the only way I can think of to do this is by using xdm (or equivalent), and adjusting permissions to the relevant devices in much the same way as is done for the console. - Lowell To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message