From owner-freebsd-questions@FreeBSD.ORG Tue Aug 29 02:58:26 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 8909916A4DA for ; Tue, 29 Aug 2006 02:58:26 +0000 (UTC) (envelope-from girishvenkatachalam@gmail.com) Received: from wr-out-0506.google.com (wr-out-0506.google.com [64.233.184.236]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1C7A143D46 for ; Tue, 29 Aug 2006 02:58:25 +0000 (GMT) (envelope-from girishvenkatachalam@gmail.com) Received: by wr-out-0506.google.com with SMTP id 68so522498wri for ; Mon, 28 Aug 2006 19:58:25 -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:content-transfer-encoding:content-disposition:references; b=p/9eUGkNpKo9n0YFXPkYFMt1kWuE1IVrUg19HUNocRkhmZEGOME6fisi4B7B0T7fvl9/YXt6bJ0sflNHKEAAvgybLqmZKWs3dQpPe4HGIsmcidfxxRiEsBGwFOn3aGMpWWgXKzJksT7Wg+cXUwMLlt7L5BN8B16o05ByXY/S+ug= Received: by 10.90.100.6 with SMTP id x6mr1347340agb; Mon, 28 Aug 2006 19:56:41 -0700 (PDT) Received: by 10.90.98.3 with HTTP; Mon, 28 Aug 2006 19:56:41 -0700 (PDT) Message-ID: <7938ae610608281956vf70fbdj5bd7f4252736df86@mail.gmail.com> Date: Tue, 29 Aug 2006 08:26:41 +0530 From: "Girish Venkatachalam" To: "Viswas Nair" In-Reply-To: <73d604760608270741k4998723au81b258ef17b41c70@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <73d604760608270741k4998723au81b258ef17b41c70@mail.gmail.com> 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: Tue, 29 Aug 2006 02:58:26 -0000 On 8/27/06, 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 > Did u try adding the uid to the mount options in fstab? For instance, -o uid=1000. In fstab, u have to say, ro,uid=1000 or something. HTH, Girish