From owner-freebsd-net@FreeBSD.ORG Thu Feb 7 19:53:35 2008 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BDB9016A417 for ; Thu, 7 Feb 2008 19:53:35 +0000 (UTC) (envelope-from lysergius2001@gmail.com) Received: from rn-out-0910.google.com (rn-out-0910.google.com [64.233.170.189]) by mx1.freebsd.org (Postfix) with ESMTP id 33EC513C45E for ; Thu, 7 Feb 2008 19:53:34 +0000 (UTC) (envelope-from lysergius2001@gmail.com) Received: by rn-out-0910.google.com with SMTP id s42so1584345rnb.13 for ; Thu, 07 Feb 2008 11:53:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; bh=aIdUt+20LSa4HC5EmDEkc21XIhLSNkjKYZlvGniWUB0=; b=JBZrJgts9YNfJ6+WcS5ngAIvSDTAoPDC3/LR5ph43iDkL5J5ciiRjvA8bbKr/ZLbxHusWNSb1qw0BXIDH3YygJk/iPizrFEidduGVWUpn/GRoqPCV8PTZ4tR6ry5U7TUi/2SWhfAakMffB2mRfuQfRBAjdXsqcinmbnni859KSw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=RxNjxQch1TRDk4M36Zt8+igjfUCxdLWoP6THlEjTt4S5uRK3sQq/scRfsfvg/dWJQd+k+huuAjuAXt6YMmOVu/I7gsW1KZ3CjQ84zxsmV6FNNCCjmIwrc0oTx5VWs8LP98UL8A4wzMK5xve+pVEOWsW1WSDV2Wsatttj/njgLow= Received: by 10.142.216.9 with SMTP id o9mr6552714wfg.42.1202414012515; Thu, 07 Feb 2008 11:53:32 -0800 (PST) Received: by 10.142.126.7 with HTTP; Thu, 7 Feb 2008 11:53:32 -0800 (PST) Message-ID: Date: Thu, 7 Feb 2008 19:53:32 +0000 From: lysergius2001 To: "Eygene Ryabinkin" In-Reply-To: MIME-Version: 1.0 References: <+Oslp5zezDUHSfXCT9N9C5qGZIo@4emqrsZRSNlbYTMRNETK7AEirXc> <20080207184604.217E345010@ptavv.es.net> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-net@freebsd.org Subject: Re: modifying permissions in /dev X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Feb 2008 19:53:35 -0000 Apologies for the top post? Looks like I need a lesson in etiquette as well as devfs. The problem is this. I have two boxes running 6.3-stable. One is i386 and the other is amd64. Identical setups as near as I can make it. the 386 box allows mounting floppy from kde, but does not find cd0 in k3b. The amd64 box finds cd0 in k3b but will not allow mounting floppy in kde? I have vfs.usermount= 1 in sysctl.conf on both boxes. I have identical devfs.conf and devfs.rules. hald is running on both boxes. rc.conf is identical on both boxes. I am baffled, stumped and getting confused... Can I go back to the basics somehow and work through the set up logically? ...all assistance gratefully appreciated. Oh, and yes, surviving boot would be good... On Feb 7, 2008 7:09 PM, Eygene Ryabinkin wrote: > Kevin, just a side note. > > Thu, Feb 07, 2008 at 10:46:04AM -0800, Kevin Oberman wrote: > > > Set vfs.usermount=1 in /etc/sysctl.conf and restart sysctl via > > > '/etc/rc.d/sysctl restart'. But be aware of security implications: > > > anyone will be able to mount devices that are opened to him/her via > > > filesystem permissions. > > > > While adding "vfs.usermount=1" to /etc/sysctl is needed to make the > ^^^^^^^^^^^ > /etc/sysctl.conf, not just /etc/sysctl > > > sysctl carry over reboots, you don't need to start sysctl again. Just: > > sysctl vfs.usermount=1 > > will do the trick. > > I had the impression that all this /etc/devfs.{rules,conf} stuff > was connected to the fact that lysergius wanted to keep the things > over reboots. Otherwise simple 'chmod ' will > go. No? > -- > Eygene > -- Lysergius says "Stay light and trust gravity"