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 10:02:06
Message-Id: 51920B90.6060707@yandex.ru
In Reply to: Re: [gentoo-user] cups settup broken? - please help by "Yuri K. Shatroff"
1 On 14.05.2013 13:55, Yuri K. Shatroff wrote:
2 > On 14.05.2013 13:42, Helmut Jarausch wrote:
3 >> On 05/14/2013 11:15:29 AM, Yuri K. Shatroff wrote:
4 >>> On 14.05.2013 13:05, Helmut Jarausch wrote:
5 >>>> Hi,
6 >>>> recently I have problems with CUPS (1.6.2) with cups-filters-1.0.34
7 >>>>
8 >>>> I see lots of strange error messages in /var/log/cups/error_log like
9 >>>>
10 >>>>
11 >>>> Filter "pdftops" not found.
12 >>>>
13 >>>> but there is a /usr/libexec/cups/filter/pdftops
14 >>>>
15 >>>> and then
16 >>>>
17 >>>>
18 >>>> ps: File "/etc/cups/${EPREFIX}/usr/libexec/cups/filter/commandtops" not
19 >>>> available: No such file or directory
20 >>>>
21 >>>> These paths look strange.
22 >>>>
23 >>>> Does any know what's going on here?
24 >>>>
25 >>>> Many thanks for a hint,
26 >>>> Helmut.
27 >>>
28 >>> Hi Helmut,
29 >>> I also had this problem after installing CUPS. There is a trouble with
30 >>> permissions, AFAIR you need to check that /var/spool/cups is
31 >>> accessible to your user: that is, ensure that you're in the lp group
32 >>> and /var/spool/cups group is lp. I can not be sure that this dir was
33 >>> the only one to check but it was the permissions which was the 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 > Accessible really means accessible, i.e. when you are able to chdir to
45 > it and see its contents.
46 > Apparently, the dir lacks "group read" permission, i.e. it should be
47 > drwxr-x---
48 > the `execute` bit alone doesn't allow one to access the directory.
49 > That is probably a portage bug or sort of.
50
51 Well, sorry, I must be wrong, I have the same
52 drwx--x---
53 on /var/spool/cups. But I remember that I had to change permissions
54 somewhere to make the filter work... I was in a hurry so I can't recall
55 the exact place, alas.
56
57
58 --
59 Best wishes,
60 Yuri K. Shatroff