From owner-freebsd-questions@FreeBSD.ORG Sat Sep 2 18:18:28 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 823FB16A4DE for ; Sat, 2 Sep 2006 18:18:28 +0000 (UTC) (envelope-from fysical@gmail.com) Received: from py-out-1112.google.com (py-out-1112.google.com [64.233.166.182]) by mx1.FreeBSD.org (Postfix) with ESMTP id EA5AC43D45 for ; Sat, 2 Sep 2006 18:18:27 +0000 (GMT) (envelope-from fysical@gmail.com) Received: by py-out-1112.google.com with SMTP id o67so1825322pye for ; Sat, 02 Sep 2006 11:18:27 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=jGY7s7dV6vuhtzXx6ZMcSREd2iLBXJsDbpGZD5Noqnk/isA+28MJ1seQ66fpt5+fdxwZKg5M98fR7vjLPJG6jU/wlRgr4ZRma6wJgHj1+HQXRbwItR16uzDHzX12MGqROtlWKyxlcmy2/4A+l/5Ki0kAHJ+2engT1ZTHDaxIELo= Received: by 10.65.234.3 with SMTP id l3mr3991602qbr; Sat, 02 Sep 2006 11:18:27 -0700 (PDT) Received: by 10.65.124.13 with HTTP; Sat, 2 Sep 2006 11:18:27 -0700 (PDT) Message-ID: <73d604760609021118w69efaab1q919fe7ef8ed22f93@mail.gmail.com> Date: Sat, 2 Sep 2006 23:48:27 +0530 From: "Viswas Nair" To: "Mark Moellering" In-Reply-To: <200608301055.13457.mark@msen.com> MIME-Version: 1.0 References: <73d604760608270741k4998723au81b258ef17b41c70@mail.gmail.com> <20060827203409.GA710@powerfull.bsd> <73d604760608281952p5ff48d46w4fe45cb291fb2e4d@mail.gmail.com> <200608301055.13457.mark@msen.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: User permissions to mount CDROM X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 02 Sep 2006 18:18:28 -0000 Finally got it to work. Thanks a lot everyone. On 8/30/06, Mark Moellering wrote: > > Did you ever get this working? If not, I can give you my setup... > > Mark Moellering > > On Monday 28 August 2006 10:52 pm, Viswas Nair wrote: > > didn't help :( > > > > On 8/28/06, ajm wrote: > > > On Sun, Aug 27, 2006 at 08:11:16PM +0530, Viswas Nair wrote: > > > > I have been trying to figure out how to give users to mount CD rom > and > > > > > > have > > > > > > > been largely unsuccessful. Here are a few things I tried: > > > > 1) Added user to the 4th field (options) in /etc/fstab > > > > 2) Added vfs.usermount=1 to sysctl.conf > > > > 3) Created a group called optical and added the root and alpha to it > > > > 4) Added following lines to devfs,conf : > > > > own /dev/acd0 root:optical > > > > perm /dev/acd0 0770 > > > > own /dev/acd1 root:optical > > > > perm /dev/acd1 0770 > > > > 5) Rebooted machine and tried to mount /dev/acd0 into /cdrom and it > > > > > > failed > > > > > > > with the message: > > > > got the error message: /dev/acd0 > > > > > > Try the following: create a subdirectory in the users home directory. > > > example: /home/steven/cdrom > > > > > > mount_cd9660 /dev/acd0 /home/steven/cdrom > > > > > > also, you can change the permission to 550 > > > (read/execute by owner and group) no need for write permission. > > > make sure that your users are part of the optical group. > > > One more thing...users will not be able to mount anything to /cdrom > > > since it will belong to root/wheel. Hope this helped you. > > > > > > -- > > > FreeBSD 6.0-RELEASE i386 GENERIC > > > _______________________________________________ > > > 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" > > > > _______________________________________________ > > 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" >