From owner-freebsd-questions@FreeBSD.ORG Fri Feb 6 08:55:19 2004 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 EA89916A516 for ; Fri, 6 Feb 2004 08:55:19 -0800 (PST) Received: from mail.web-mania.com (mail.web-mania.com [217.204.37.28]) by mx1.FreeBSD.org (Postfix) with ESMTP id BD52B43D58 for ; Fri, 6 Feb 2004 08:55:17 -0800 (PST) (envelope-from edd@arameus.net) Received: from tectonics.force9.co.uk ([212.159.95.35] helo=it3) by mail.web-mania.com with smtp (Exim 3.36 #13) id 1Ap9IP-0007DP-00 for freebsd-questions@freebsd.org; Fri, 06 Feb 2004 16:57:37 +0000 Message-ID: <005801c3ecd2$38c640f0$8000a8c0@it3> From: "Edd Barrett" To: References: <003101c3ecb9$0703f2b0$8000a8c0@it3> <44llng88k4.fsf@be-well.ilk.org> Date: Fri, 6 Feb 2004 16:56:21 -0000 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 X-WM-MailScanner-Information: Please contact the ISP for more information X-WM-MailScanner: Found to be clean Subject: Re: Howto umount a cdrom as non-root? 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, 06 Feb 2004 16:55:20 -0000 well i get permission denied. I cant paste the output here, because im at work. tomorrow I will post up the exact output. I will check all my permissions etc to make sure im not being dumb first. version is 5.2-release dir trying to mount is /home/edd/cdrom1 /dev/acd0 is chmod 777 (for testing purposes) Will get back to you tomorrow lowell. Thanks ----- Original Message ----- From: "Lowell Gilbert" To: "Edd Barrett" Cc: Sent: Friday, February 06, 2004 4:41 PM Subject: Re: Howto umount a cdrom as non-root? > "Edd Barrett" writes: > > > I have used vfs.usermount=1 to allow users to mount the cdrom in a dir in > > thier home dir. What is the most proper and secure method of doing so. If > > possible without the use of sudo or chmod +s. > > If the users can mount the disk, they should be able to umount it as > well. [I just checked; it works for me, on both -STABLE and > -CURRENT.] This is not occurring on your system? What version? What > *does* happen when the user tries the umount? >