Date: Mon, 3 Jul 2006 12:34:19 GMT From: Osamu Hasegawa <kdn_pc215hqj11010@mbr.nifty.com> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/99745: print/cups: CUPS 1.2.0_x: Unable to open parallel port device file "/dev/lpt0": Permission denied Message-ID: <200607031234.k63CYJRl017763@www.freebsd.org> Resent-Message-ID: <200607031240.k63Ce4Gi079390@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 99745 >Category: ports >Synopsis: print/cups: CUPS 1.2.0_x: Unable to open parallel port device file "/dev/lpt0": Permission denied >Confidential: no >Severity: serious >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Jul 03 12:40:04 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Osamu Hasegawa >Release: FreeBSD 6.1-RELEASE >Organization: >Environment: FreeBSD 6.1-RELEASE FreeBSD 6.1-RELEASE #0: Wed Jun 28 11:21:26 JST 2006 root@minami.fls.jp:/usr/obj/usr/src/sys/GENERIC i386 >Description: CUPS 1.2.0 with parallel port printer has a same issue as ports/99460. /usr/local/etc/cups/printers.conf is as follows. ------ <DefaultPrinter MJ-800C> Info MJ-800C DeviceURI parallel:/dev/lpt0 State Idle StateTime 1151906919 Accepting Yes Shared No JobSheets none none QuotaPeriod 0 PageLimit 0 KLimit 0 OpPolicy default ErrorPolicy stop-printer </Printer> ------ The following error is found in /var/log/cups/error_log. "Unable to open parallel port device file "/dev/lpt0": Permission denied" >How-To-Repeat: >Fix: Similar to ports/99460 ports/99624/. Add following lines to /etc/devfs.rules: [system=10] add path 'lpt*' mode 0660 group cups And following to /etc/rc.conf: devfs_system_ruleset="system" >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200607031234.k63CYJRl017763>