From owner-freebsd-questions@FreeBSD.ORG Fri May 20 22:02:20 2005 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 ECED016A4CE for ; Fri, 20 May 2005 22:02:20 +0000 (GMT) Received: from ms-smtp-01-eri0.texas.rr.com (ms-smtp-01.texas.rr.com [24.93.47.40]) by mx1.FreeBSD.org (Postfix) with ESMTP id C2E8943D8E for ; Fri, 20 May 2005 22:02:19 +0000 (GMT) (envelope-from rylwin@houston.rr.com) Received: from [192.168.1.40] (cpe-67-10-38-25.houston.res.rr.com [67.10.38.25])j4KM2GH9015155 for ; Fri, 20 May 2005 17:02:16 -0500 (CDT) Message-ID: <428E5E65.70008@houston.rr.com> Date: Fri, 20 May 2005 17:02:13 -0500 From: Ryan Winograd User-Agent: Mozilla Thunderbird 1.0.2 (X11/20050520) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <428E5BF9.4050509@houston.rr.com> In-Reply-To: <428E5BF9.4050509@houston.rr.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Symantec AntiVirus Scan Engine Subject: Re: all users to mount cd's 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: Fri, 20 May 2005 22:02:21 -0000 Ryan Winograd wrote: > On May 20, 2005 04:10 pm, Ryan Winograd wrote: > >>> Is there an easy way to allow any user to mount cd's? >>> Well, yes. I have proper perms on cd devs and if a user creates >>> a directory he owns he can mount from command line w/ sudo. >>> >>> There are, however, some requiremnents i am trying to meet. >>> >>> I would like the mounting process to be much easier. I am using >>> KDE and would like to have the cd's mount automatically so that >>> the users don't have to know how to use the command line. How >>> can I accomplish this? >>> >>> Thanks in advance for all advice, >>> Ryan w >>> >> >> > > Everything in that FAQ still works : > http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/disks.html#USER-FLOPPYMOUNT > > > Basically, type sysctl vfs.usermount=1 or add the line > vfs.usermount=1 to /etc/sysctl.conf so that it changes itself at > boot. Make sure your cdrom has the correct permission in > /etc/devfs.conf (example : perm acd0 777). > Make a user-readable folder in the users home directory > (/home/myself/cdrom) > Make a fstab entry in /etc/fstab for that user (/dev/acd0 > /home/myself/cdrom cd9660 ro,noauto 0 0) > Make an device icon on the KDE desktop with that user's fstab entry > (found in the Device tab). > > Anyone sees a mistake in this, please fix, > > Nicolas. > > > I was hoping to avoid adding to the fstab for every user on my network. Otherwise that would work. I got another suggestion recommending using amd (automounter), which i will look into a little more. Thx for advice though. Side note: Is it a mistake to be using FreeBSD as a desktop OS? Its main purpose is as a server, FreeBSD even admits its goal is not to be a desktop OS. So should i be looking for a Linux solution here? It might be worth looking into. Anyways, i'll report back when i explore amd a little bit.