Gentoo Archives: gentoo-user

From: "Yuri K. Shatroff" <yks-uno@××××××.ru>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] cups settup broken? - please help
Date: Tue, 14 May 2013 09:55:33
Message-Id: 51920A0B.9080108@yandex.ru
In Reply to: Re: [gentoo-user] cups settup broken? - please help by Helmut Jarausch
1 On 14.05.2013 13:42, Helmut Jarausch wrote:
2 > On 05/14/2013 11:15:29 AM, Yuri K. Shatroff wrote:
3 >> On 14.05.2013 13:05, Helmut Jarausch wrote:
4 >>> Hi,
5 >>> recently I have problems with CUPS (1.6.2) with cups-filters-1.0.34
6 >>>
7 >>> I see lots of strange error messages in /var/log/cups/error_log like
8 >>>
9 >>>
10 >>> Filter "pdftops" not found.
11 >>>
12 >>> but there is a /usr/libexec/cups/filter/pdftops
13 >>>
14 >>> and then
15 >>>
16 >>>
17 >>> ps: File "/etc/cups/${EPREFIX}/usr/libexec/cups/filter/commandtops" 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 with
29 >> 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 problem.
33 >
34 >
35 >
36 > Thanks Juri.
37 > What do you mean by 'accessible' - here I have only group execute
38 > permission, i.e.
39 >
40 > ls -ld /var/spool/cups gives
41 > drwx--x--- 3 root lp 32768 May 14 11:37 /var/spool/cups
42
43 Accessible really means accessible, i.e. when you are able to chdir to
44 it and see its contents.
45 Apparently, the dir lacks "group read" permission, i.e. it should be
46 drwxr-x---
47 the `execute` bit alone doesn't allow one to access the directory.
48 That is probably a portage bug or sort of.
49
50 > And what do you have in /etc/cups/cups-files.conf
51
52 Actually I didn't even look there. Yes, everything is the same.
53
54 > Here I still have
55 >
56 > # Default user and group for filters/backends/helper programs; this
57 > cannot be
58 > # any user or group that resolves to ID 0 for security reasons...
59 > #User lp
60 > #Group lp
61 >
62 > # Administrator user group, used to match @SYSTEM in cupsd.conf policy
63 > rules...
64 > SystemGroup lpadmin
65 >
66 >
67 > # User that is substituted for unauthenticated (remote) root accesses...
68 > #RemoteRoot remroot
69 >
70 > Many thanks again
71 > Helmut.
72 >
73
74
75 --
76 Best wishes,
77 Yuri K. Shatroff

Replies

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