Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 208958 - net-print/cups-1.2.12-r4 doesn't doesn't honor Group in /etc/cups/cupsd.conf
Summary: net-print/cups-1.2.12-r4 doesn't doesn't honor Group in /etc/cups/cupsd.conf
Status: RESOLVED DUPLICATE of bug 137795
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-02-05 02:38 UTC by Albert Zeyer
Modified: 2008-02-05 08:56 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 ***