From owner-freebsd-questions@FreeBSD.ORG Mon Jul 31 01:04:27 2006 Return-Path: X-Original-To: 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 48B4B16A4E5 for ; Mon, 31 Jul 2006 01:04:27 +0000 (UTC) (envelope-from micahjon@ywave.com) Received: from relay0.av-mx.com (relay0.av-mx.com [137.118.16.125]) by mx1.FreeBSD.org (Postfix) with ESMTP id C66B443D49 for ; Mon, 31 Jul 2006 01:04:26 +0000 (GMT) (envelope-from micahjon@ywave.com) X-Virus-Scan-Time: 0 Received: from [137.118.16.61] (HELO mx0.av-mx.com) by relay0.av-mx.com (CommuniGate Pro SMTP 4.2.10) with SMTP id 339020743 for questions@freebsd.org; Sun, 30 Jul 2006 21:04:25 -0400 Received: (qmail 6076 invoked from network); 31 Jul 2006 01:04:25 -0000 Received: from dsl17146.ywave.com (HELO ?192.168.1.65?) (micahjon@ywave.com@216.227.104.146) by 0 with SMTP; 31 Jul 2006 01:04:25 -0000 X-CLIENT-IP: 216.227.104.146 X-CLIENT-HOST: dsl17146.ywave.com Message-ID: <44CD5717.1090005@ywave.com> Date: Sun, 30 Jul 2006 18:04:23 -0700 From: Micah User-Agent: Thunderbird 1.5.0.4 (X11/20060716) MIME-Version: 1.0 To: Robert Huff References: <17613.21296.960604.706390@jerusalem.litteratus.org> In-Reply-To: <17613.21296.960604.706390@jerusalem.litteratus.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: questions@freebsd.org Subject: Re: devfs and changing device permissions 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: Mon, 31 Jul 2006 01:04:27 -0000 Robert Huff wrote: > If I want to permanently change the permissions for a device, I > add en entry to /etc/devfs.conf. Right? Depends. If the device is present when the system boots, yes. If it shows up later (like a USB drive) then you need to set up some /etc/devfs.rules instead. > But that doesn't get picked up until the next time devd is > started. If I want to change the permissions right now, can I just > go into /dev and use chmod or do I need to fool around with > devfs(8)? > > > Robert Huff devfs.rules are applied when you execute /etc/rc.d/devfs restart, and that may apply to devfs.conf too (never tried it honestly). That said, I've never had problems using chmod for temporary changes on device nodes. HTH, Micah