Gentoo Archives: gentoo-user

From: Helmut Jarausch <jarausch@××××××××××××××××.de>
To: gentoo-user@l.g.o
Cc: gentoo-user@l.g.o
Subject: Re: [gentoo-user] cups settup broken? - please help
Date: Tue, 14 May 2013 09:42:15
Message-Id: 1368524526.3130.0@numa-i
In Reply to: Re: [gentoo-user] cups settup broken? - please help by "Yuri K. Shatroff"
1 On 05/14/2013 11:15:29 AM, Yuri K. Shatroff wrote:
2 > On 14.05.2013 13:05, Helmut Jarausch wrote:
3 >> Hi,
4 >> recently I have problems with CUPS (1.6.2) with cups-filters-1.0.34
5 >>
6 >> I see lots of strange error messages in /var/log/cups/error_log like
7 >>
8 >>
9 >> Filter "pdftops" not found.
10 >>
11 >> but there is a /usr/libexec/cups/filter/pdftops
12 >>
13 >> and then
14 >>
15 >>
16 >> ps: File "/etc/cups/${EPREFIX}/usr/libexec/cups/filter/commandtops"
17 >> not
18 >> available: No such file or directory
19 >>
20 >> These paths look strange.
21 >>
22 >> Does any know what's going on here?
23 >>
24 >> Many thanks for a hint,
25 >> Helmut.
26 >
27 > Hi Helmut,
28 > I also had this problem after installing CUPS. There is a trouble
29 > with permissions, AFAIR you need to check that /var/spool/cups is
30 > accessible to your user: that is, ensure that you're in the lp group
31 > and /var/spool/cups group is lp. I can not be sure that this dir was
32 > the only one to check but it was the permissions which was the
33 > problem.
34
35
36
37 Thanks Juri.
38 What do you mean by 'accessible' - here I have only group execute
39 permission, i.e.
40
41 ls -ld /var/spool/cups gives
42 drwx--x--- 3 root lp 32768 May 14 11:37 /var/spool/cups
43
44 And what do you have in /etc/cups/cups-files.conf
45
46 Here I still have
47
48 # Default user and group for filters/backends/helper programs; this
49 cannot be
50 # any user or group that resolves to ID 0 for security reasons...
51 #User lp
52 #Group lp
53
54 # Administrator user group, used to match @SYSTEM in cupsd.conf policy
55 rules...
56 SystemGroup lpadmin
57
58
59 # User that is substituted for unauthenticated (remote) root accesses...
60 #RemoteRoot remroot
61
62 Many thanks again
63 Helmut.

Replies

Subject Author
Re: [gentoo-user] cups settup broken? - please help "Yuri K. Shatroff" <yks-uno@××××××.ru>