Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 208958

Summary: net-print/cups-1.2.12-r4 doesn't doesn't honor Group in /etc/cups/cupsd.conf
Product: Gentoo Linux Reporter: Albert Zeyer <albzey>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Albert Zeyer 2008-02-05 02:38:57 UTC
My /dev/lp0 has the following permissions set (correctly):
crw-rw---- 1 root lp 6, 0 Feb  8  2008 /dev/lp0

In /etc/cups/cupsd.conf, I defined:
User lp
Group lp

When I try to print, I get the error:
E [05/Feb/2008:03:30:24 +0100] [Job 1104] Unable to open parallel port device file "/dev/lp0": Permission denied

As /usr/libexec/cups/filter/foomatic-rip is a perl-script, I added a simple 'id'  and I got this:
uid=4(lp) gid=65534(nobody) groups=65534(nobody)

It seems that CUPS doesn't set the group correctly.

I remember roughly that this error is already really old, at least I have seen the missing group setting once in an earlier version.

I am using cups 1.2.12-r4.
Comment 1 Albert Zeyer 2008-02-05 04:40:57 UTC
The same problem occurs in CUPS 1.3.5.
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2008-02-05 08:56:26 UTC

*** This bug has been marked as a duplicate of bug 137795 ***