Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 Dec 1998 19:57:39 -0600
From:      David Kelly <dkelly@hiwaay.net>
To:        "Steve Friedrich" <SteveFriedrich@Hot-Shot.com>
Cc:        "FreeBSD Questions" <freebsd-questions@FreeBSD.ORG>
Subject:   Re: Can't mount CD or floppies as non-super user 
Message-ID:  <199812110157.TAA02941@n4hhe.ampr.org>
In-Reply-To: Message from "Steve Friedrich" <SteveFriedrich@Hot-Shot.com>  of "Thu, 10 Dec 1998 14:11:13 EST." <199812101913.OAA19549@laker.net> 

next in thread | previous in thread | raw e-mail | index | archive | help
"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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199812110157.TAA02941>