From owner-freebsd-questions@FreeBSD.ORG Fri Aug 29 00:24:25 2003 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 4E57F16A4BF for ; Fri, 29 Aug 2003 00:24:25 -0700 (PDT) Received: from pd4mo1so.prod.shaw.ca (shawidc-mo1.cg.shawcable.net [24.71.223.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 970F543FBD for ; Fri, 29 Aug 2003 00:24:18 -0700 (PDT) (envelope-from desmond.lee@shaw.ca) Received: from pd4mr2so.prod.shaw.ca (pd4mr2so-qfe3.prod.shaw.ca [10.0.141.213]) by l-daemon (iPlanet Messaging Server 5.2 HotFix 1.16 (built May 14 2003)) with ESMTP id <0HKD00GC0DWI4O@l-daemon> for freebsd-questions@freebsd.org; Fri, 29 Aug 2003 01:24:18 -0600 (MDT) Received: from pn2ml5so.prod.shaw.ca (pn2ml5so-qfe0.prod.shaw.ca [10.0.121.149]) by l-daemon (iPlanet Messaging Server 5.2 HotFix 1.16 (built May 14 2003)) with ESMTP id <0HKD008PADWIMB@l-daemon> for freebsd-questions@freebsd.org; Fri, 29 Aug 2003 01:24:18 -0600 (MDT) Received: from croydon (h24-83-94-81.vs.shawcable.net [24.83.94.81]) by l-daemon (iPlanet Messaging Server 5.2 HotFix 1.16 (built May 14 2003)) with ESMTP id <0HKD00G3QDWAHF@l-daemon> for freebsd-questions@freebsd.org; Fri, 29 Aug 2003 01:24:18 -0600 (MDT) Date: Fri, 29 Aug 2003 00:24:09 -0700 From: Desmond Lee In-reply-to: <44bru93yey.fsf@be-well.ilk.org> To: 'Lowell Gilbert' , freebsd-questions@freebsd.org Message-id: <000201c36dfe$8a163da0$6501a8c0@croydon> MIME-version: 1.0 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 X-Mailer: Microsoft Outlook, Build 10.0.2616 Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7BIT Importance: Normal X-Priority: 3 (Normal) X-MSMail-priority: Normal Subject: RE: allowing non root users to mount 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, 29 Aug 2003 07:24:25 -0000 Thanks for your help Lowell and others who replied :) I apologize for asking a question that was already posted on the FAQ FreeBSD site. I should have looked at the obvious resource for that. I followed the instructions on the FAQ section about making non-root users able to mount file systems and that worked fine, but it only works if the target of the mounting point is accessible by that user. So, 'mount -t msdos /dev/fd0 ~/myFloppy' would only work if ~/myFloppy was a directory that was accessible by the user who executed the mount command. Thus, if you were a non-root user the stuff in the /etc/fstab would not be useful since the target of the mount commands were only accessible by the root. Thanks for the help Desmond -----Original Message----- From: owner-freebsd-questions@freebsd.org [mailto:owner-freebsd-questions@freebsd.org] On Behalf Of Lowell Gilbert Sent: Thursday, August 28, 2003 9:01 PM To: freebsd-questions@freebsd.org Subject: Re: allowing non root users to mount Desmond Lee writes: > However, can you do this on freeBSD? I mean, with RedHat it does it for > you so that you have a floppy and cdrom icon on your desktop. But can > you do that w/ freeBSD? I don't think so cause if there is no floppy/zip > disk/ or cdRom in the drive when you mount, it will return you an error. > So trying to mount these on boot is not right... is this correct? The usual approach for this is an automounter: see amd(8). > Is there any way that I can get no root users to mount files systems > like cdrom, zip and floppy? Yes. See the FreeBSD FAQ: "How do I let ordinary users mount floppies, CDROMs and other removable media?" > I tried to look this up and some people said to use the "user" option in > the /etc/fstab file, but this didn't work. That advice is for Linux. _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"