From owner-freebsd-ports@FreeBSD.ORG Mon Jul 3 19:56:08 2006 Return-Path: X-Original-To: freebsd-ports@freebsd.org Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B744A16A47B for ; Mon, 3 Jul 2006 19:56:08 +0000 (UTC) (envelope-from bmah@freebsd.org) Received: from b.mail.sonic.net (b.mail.sonic.net [64.142.19.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5AE64447E0 for ; Mon, 3 Jul 2006 19:56:08 +0000 (GMT) (envelope-from bmah@freebsd.org) Received: from [64.142.31.109] (phantom.kitchenlab.org [64.142.31.109]) (authenticated bits=0) by b.mail.sonic.net (8.13.7/8.13.7) with ESMTP id k63Ju6O2030451 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 3 Jul 2006 12:56:06 -0700 Message-ID: <44A97652.7070003@freebsd.org> Date: Mon, 03 Jul 2006 12:56:02 -0700 From: "Bruce A. Mah" User-Agent: Thunderbird 1.5.0.4 (Macintosh/20060516) MIME-Version: 1.0 To: David MAREC References: <449DE614.3040204@spamcop.net> <449F43EF.6030107@spamcop.net> <200607011444.36821.david.marec@free.fr> In-Reply-To: <200607011444.36821.david.marec@free.fr> X-Enigmail-Version: 0.94.0.0 OpenPGP: id=5ba052c3 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigA8D44D884C9C248C14746DBD" Cc: freebsd-ports@freebsd.org Subject: Re: print/cups-base 1.2.0_2 and locally connected printer X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Jul 2006 19:56:08 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigA8D44D884C9C248C14746DBD Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable If memory serves me right, David MAREC wrote: > Le lundi 26 juin 2006 04:18, Rick Voland a =E9crit : >=20 >> It seems to be a permissions thing. >=20 > I have the same problem running FreeBSD 6.1. > A few weeks ago, =ABcups=BB stopped printing through local ports while = =ABlpd=BB=20 > d=E6mon was still working. > ( maybe, as soon as i removed cups-lpr from the system ) >=20 >> Now, I can print to the parallel port. I didn't have to do this with >> print/cups-base 1.1.23.0_9. >=20 > Setting =ABrw=BB permissions to group and others to that device allows = =ABcupsd =BB=20 > to work through local ports. > Setting =ABrw=BB permissions to group only, does'nt. >=20 > Is there new device policies defined by cups ? >=20 I noticed that the cups port now installs a cups user and group. I infer from that change that some portion of cups now runs as a non-privileged user, and that if you're driving a parallel port, it needs to writable (readable too?) by the new cups user. (I encountered this problem on my RELENG_6/i386 print server machine, made /dev/lpt0 owned by cups:cups, and it worked. Edit /etc/devfs.conf to set this ownership on the next reboot.) Bruce. --------------enigA8D44D884C9C248C14746DBD Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFEqXZW2MoxcVugUsMRAqdCAKDZ8DcU6ui2DgRwsO47quPv0dSepQCg709y vBbwUSYaG+OXoccfkRYdDTg= =96gq -----END PGP SIGNATURE----- --------------enigA8D44D884C9C248C14746DBD--