From owner-freebsd-questions@FreeBSD.ORG Mon Apr 21 19:54:20 2008 Return-Path: Delivered-To: FreeBSD-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8CD0B106566B for ; Mon, 21 Apr 2008 19:54:20 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from smtp-vbr12.xs4all.nl (smtp-vbr12.xs4all.nl [194.109.24.32]) by mx1.freebsd.org (Postfix) with ESMTP id 26E688FC12 for ; Mon, 21 Apr 2008 19:54:19 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from slackbox.xs4all.nl (slackbox.xs4all.nl [213.84.242.160]) by smtp-vbr12.xs4all.nl (8.13.8/8.13.8) with ESMTP id m3LJsHdh065314; Mon, 21 Apr 2008 21:54:17 +0200 (CEST) (envelope-from rsmith@xs4all.nl) Received: by slackbox.xs4all.nl (Postfix, from userid 1001) id E5AA5B829; Mon, 21 Apr 2008 21:54:16 +0200 (CEST) Date: Mon, 21 Apr 2008 21:54:16 +0200 From: Roland Smith To: David Reedy Jr Message-ID: <20080421195416.GA6884@slackbox.xs4all.nl> Mail-Followup-To: David Reedy Jr , FreeBSD-questions@freebsd.org References: <200804211305.56895.davidrjr@comcast.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="VS++wcV0S1rZb1Fb" Content-Disposition: inline In-Reply-To: <200804211305.56895.davidrjr@comcast.net> X-GPG-Fingerprint: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 X-GPG-Key: http://www.xs4all.nl/~rsmith/pubkey.txt X-GPG-Notice: If this message is not signed, don't assume I sent it! User-Agent: Mutt/1.5.17 (2007-11-01) X-Virus-Scanned: by XS4ALL Virus Scanner Cc: FreeBSD-questions@freebsd.org Subject: Re: Unable to open device file "/dev/lpt0": Permission denied 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, 21 Apr 2008 19:54:20 -0000 --VS++wcV0S1rZb1Fb Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Apr 21, 2008 at 01:05:56PM -0500, David Reedy Jr wrote: > Small home network. Trying to get cups working on my server. >=20 > FreeBSD 7.0-RELEASE #4: Tue Apr 15 11:01:37 CDT 2008 > root@omega.myhome.net:/usr/obj/usr/src/sys/OMEGA > ... > ppc0: at port 0x378-0x37f irq 7 on isa0 > ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode > ppc0: FIFO with 16/16/9 bytes threshold > ppbus0: on ppc0 > ppbus0: [ITHREAD] > ppbus0: IEEE1284 device found /NIBBLE > Probing for PnP devices on ppbus0: > ppbus0: PRINTER HP ENHANCED=20 > PCL5,PJL > StateMessage Unable to open device file "/dev/lpt0": Permission denied > Trying to print a test page from the cups web interface on a client=20 > machine, I get the error message. Doing chmod 777 /dev/lpt0 does not=20 > change anything. >=20 > Can somebody tell me what I've done wrong or point me in the direction I= =20 > should be looking? IICR, the print device should belong to the cups group. At least, that's my working setup.=20 I have the following in /etc/devfs.conf: # Give cups printer access own lpt0 root:cups perm lpt0 0660 If you don't want to reboot; # chown root:cups /dev/lpt0 # chmod 0660 /dev/lpt0 Roland --=20 R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) --VS++wcV0S1rZb1Fb Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.8 (FreeBSD) iEYEARECAAYFAkgM8OgACgkQEnfvsMMhpyX7YQCgq8nlclY+4FN6lypKwsWuMrF8 /DYAoJ1c0sjCjuFxTOgCyB1/s8Nr/9P0 =5jfa -----END PGP SIGNATURE----- --VS++wcV0S1rZb1Fb--