From owner-freebsd-questions@FreeBSD.ORG Tue May 15 19:12:32 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 8932216A400 for ; Tue, 15 May 2007 19:12:32 +0000 (UTC) (envelope-from stapleton.41@gmail.com) Received: from mu-out-0910.google.com (mu-out-0910.google.com [209.85.134.187]) by mx1.freebsd.org (Postfix) with ESMTP id 0BBC213C455 for ; Tue, 15 May 2007 19:12:31 +0000 (UTC) (envelope-from stapleton.41@gmail.com) Received: by mu-out-0910.google.com with SMTP id w8so991632mue for ; Tue, 15 May 2007 12:12:30 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=s7iaGLl83ZyQUMx0i+aWnMlJotV73q/ZafrH59+Q8IWgefZz7rxCd9CgJqE7hpYOXMpRlCjAteA6uqp9SOO0miVDvFfHoZn4VBJduD4B+4pGisEZfF2Mq50FyIjUb8sRIBI99h4qXfu5Aa9yQ2LnMzDRLMMSGSD0MTRzM0yVud4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=Ot3hfWpfiR/0vbjNUoBZeYeHwgFWFWbxkv6x1SfWSZ2TmOITY2pFZdvPfnqVersgL3JtYtNsnlPi4hWrgK7x3ZTvQBuH6ygfYiouie6sYBoPlkVQj5yzbgZRjfhI8KcUGuEXQfE+7UoTIs1i2a5seXzmI77qZGtftpmjaIGQzK8= Received: by 10.82.118.2 with SMTP id q2mr4643386buc.1179256350613; Tue, 15 May 2007 12:12:30 -0700 (PDT) Received: by 10.82.155.13 with HTTP; Tue, 15 May 2007 12:12:30 -0700 (PDT) Message-ID: <80f4f2b20705151212w1d5f58ct6ce422a11582fd49@mail.gmail.com> Date: Tue, 15 May 2007 15:12:30 -0400 From: "Jim Stapleton" To: dmw@unete.cl In-Reply-To: <37755.64.117.137.69.1179254804.squirrel@webmail.ifxnw.cl> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <80f4f2b20705151053n8c87790td21ab8fb8a3f4b24@mail.gmail.com> <37755.64.117.137.69.1179254804.squirrel@webmail.ifxnw.cl> Cc: freebsd-questions@freebsd.org Subject: Re: /etc/devfs.conf not working properly 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, 15 May 2007 19:12:32 -0000 Thank you, I couldn't find the user mount flag. It's not in the files comments, the sysctl (3)(8) man page or the sysctl.conf (8) man page. Where can I find it listed? Thanks, -Jim Stapleton On 5/15/07, Daniel Molina Wegener wrote: > > El Mar, 15 de Mayo de 2007, 13:53, Jim Stapleton escribi=F3: > > I have my /etc/devfs.conf file set to make some of my files > > mountable/readable directly for normal users (specifically CD/DVD > > devices). However, the original permissions are being retained. Am I > > doing something wrong in the setup? (I have rebooted the machine since > > these entries were created) > > > > > > devfs.conf: > > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > > link acd0 cdrom > > link acd0 dvd > > > > link acd0 dvd0 > > link acd1 dvd1 > > > > link acd0 cdrom0 > > link acd1 cdrom1 > > > > own acd0 root:operator > > own acd1 root:operator > > own dvd root:operator > > own cdrom root:operator > > own dvd0 root:operator > > own dvd1 root:operator > > own cdrom0 root:operator > > own cdrom1 root:operator > > > > perm acd0 0770 > > perm acd1 0770 > > perm dvd 0770 > > perm cdrom 0770 > > perm dvd0 0770 > > perm dvd1 0770 > > perm cdrom0 0770 > > perm cdrom0 0770 > > > > > > > > #memory disks > > own mdctl root:operator > > perm mdctl 770 > > > > > > # Allow a user in the wheel group to query the smb0 device > > #perm smb0 0660 > > > > # Allow members of group operator to cat things to the speaker > > #own speaker root:operator > > #perm speaker 0660 > > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > > > > > > the majority of the relevant files look like this: > > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > > sjss@elrond 13:50:52 (0) /etc > ls -l /dev | grep dvd > > lrwxr-xr-x 1 root wheel 4 May 10 05:32 dvd -> acd0 > > lrwxr-xr-x 1 root wheel 4 May 10 05:32 dvd0 -> acd0 > > lrwxr-xr-x 1 root wheel 4 May 10 05:32 dvd1 -> acd1 > > sjss@elrond 13:51:03 (0) /etc > ls -l /dev | grep cd > > crwxrwx--- 1 root operator 0, 89 May 10 05:31 acd0 > > crwxrwx--- 1 root operator 0, 90 May 10 05:31 acd1 > > lrwxr-xr-x 1 root wheel 4 May 10 05:32 cdrom -> acd0 > > lrwxr-xr-x 1 root wheel 4 May 10 05:32 cdrom0 -> acd0 > > lrwxr-xr-x 1 root wheel 4 May 10 05:32 cdrom1 -> acd1 > > lrwxr-xr-x 1 root wheel 4 May 10 05:32 dvd -> acd0 > > lrwxr-xr-x 1 root wheel 4 May 10 05:32 dvd0 -> acd0 > > lrwxr-xr-x 1 root wheel 4 May 10 05:32 dvd1 -> acd1 > > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > > > > > > Their permssions are not correct at all, except for acd0/acd1. Any > > suggestions on what would cause this one? > > > > Thank you, > > -Jim Stapleton > > [SNIP] > > > > Hello, > > Try the user mount flag with sysctl. You can set the flag on boot edit= ing the > /etc/sysctl.conf file. > > Regards, > -- > .O. | Daniel Molina Wegener | C/C++ Developer > ..O | dmw [at] unete [dot] cl | FOSS Coding Adict > OOO | BSD & Linux User | Standards Rocks! > > >