From owner-freebsd-questions@FreeBSD.ORG Sat Jul 1 21:04:00 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 7873516A5FF for ; Sat, 1 Jul 2006 21:04:00 +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 76C9C44047 for ; Sat, 1 Jul 2006 20:31:10 +0000 (GMT) (envelope-from micahjon@ywave.com) X-Virus-Scan-Time: 0 Received: from [137.118.16.62] (HELO mx1.av-mx.com) by relay0.av-mx.com (CommuniGate Pro SMTP 4.2.10) with SMTP id 313840641 for freebsd-questions@freebsd.org; Sat, 01 Jul 2006 16:31:09 -0400 Received: (qmail 29447 invoked from network); 1 Jul 2006 20:31:08 -0000 Received: from dsl20226.ywave.com (HELO ?192.168.1.65?) (micahjon@ywave.com@216.227.107.226) by 0 with SMTP; 1 Jul 2006 20:31:08 -0000 X-CLIENT-IP: 216.227.107.226 X-CLIENT-HOST: dsl20226.ywave.com Message-ID: <44A6DB74.3080000@ywave.com> Date: Sat, 01 Jul 2006 13:30:44 -0700 From: Micah User-Agent: Thunderbird 1.5.0.4 (X11/20060611) MIME-Version: 1.0 To: Charles Howse References: <726E36F8-D30D-486B-BBC2-960DFA47B1FA@charter.net> <200607011316.58940.amistry@am-productions.biz> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: FreeBSD Questions Subject: Re: permissions in devfs.conf don't stick 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, 01 Jul 2006 21:04:01 -0000 Charles Howse wrote: > > On Jul 1, 2006, at 12:16 PM, Anish Mistry wrote: > >> On Saturday 01 July 2006 11:54, Charles Howse wrote: >>> I've added the following to /etc/devfs.conf: >>> own lpt0 root:wheel >>> perm lpt0 0660 >>> >>> Save that, then, # chmod 0660 /dev/lpt0 >>> >>> When I reboot, the permissions revert to the default of 0600. >>> Anyone know why that is? >> man devfs.rules >> http://am-productions.biz/docs/devfs.rules.php > > Sorry, this just isn't working for me. > > /etc/rc.conf contains: > devfs_rulesets="/etc/defaults/devfs.rules /etc/devfs.rules" > devfs_system_ruleset="local_rules" > > $ cat /etc/devfs.rules > [local_rules=10] > add path lpt0 mode 660 group wheel > > devfs does not complain when I restart it. > I've tried: > 'lpt*' > 'lpt0*' > > No matter what, the permissions revert to 600 when I reboot. > How about a little nudge in the right direction? :) Just a "me too." I tried the rule quoted above on my 6.1 release system, and it doesn't work here either. There are no devices attached to the parallel port if that makes a difference. I have several other similar rules that /do/ work for ulpt, da*, and pass*, but the ltp* device does not respond to my devfs.rules. - Micah