From owner-freebsd-questions@FreeBSD.ORG Tue Feb 12 12:36:47 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 11010D17 for ; Tue, 12 Feb 2013 12:36:47 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de (mx01.qsc.de [213.148.129.14]) by mx1.freebsd.org (Postfix) with ESMTP id B2ADBC13 for ; Tue, 12 Feb 2013 12:36:46 +0000 (UTC) Received: from r56.edvax.de (port-92-195-74-250.dynamic.qsc.de [92.195.74.250]) by mx01.qsc.de (Postfix) with ESMTP id 967F73D1A1; Tue, 12 Feb 2013 13:36:44 +0100 (CET) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id r1CCalRc001986; Tue, 12 Feb 2013 13:36:47 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Tue, 12 Feb 2013 13:36:47 +0100 From: Polytropon To: "Ronald F. Guilmette" Subject: Re: Chmod of /dev/ulptN Message-Id: <20130212133647.a92423a6.freebsd@edvax.de> In-Reply-To: <30480.1360636392@server1.tristatelogic.com> References: <30480.1360636392@server1.tristatelogic.com> Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Feb 2013 12:36:47 -0000 On Mon, 11 Feb 2013 18:33:12 -0800, Ronald F. Guilmette wrote: > I exactly followed the directions here: > > http://lists.freebsd.org/pipermail/freebsd-questions/2012-February/238118.html > > Nontheless, my /dev/lpt0 node still only has permissions set to 0644. In the subject you've mentioned /dev/ulpt (USB LPT port), and now /dev/lpt (conventional LPT port), still the same applies for both. > Why? Because the content of /dev is dynamically generated and maintained as a virtual file system. This service is controled by devfs (devices created at startup time) and devd (devices dynamically created during runtime), both with their respective configuration files devfs.conf and devfs.rules, and devd.conf. Those files need to be adjusted. To make the change become active, restart the service. > What did I do wrong? You did not use the current proper method. :-) Make the change you need in /etc/devfs.conf, e. g. perm ulpt0 0664 if you need rw/rw/r. You can also use "own user:group" in a similar way if you need to change file owner or group. See "man devfs.conf" for details. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...