1 |
On 05/14/2013 11:55:23 AM, 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 |
9 |
>>>> like |
10 |
>>>> |
11 |
>>>> |
12 |
>>>> Filter "pdftops" not found. |
13 |
>>>> |
14 |
>>>> but there is a /usr/libexec/cups/filter/pdftops |
15 |
>>>> |
16 |
>>>> and then |
17 |
>>>> |
18 |
>>>> |
19 |
>>>> ps: File |
20 |
>>>> "/etc/cups/${EPREFIX}/usr/libexec/cups/filter/commandtops" not |
21 |
>>>> available: No such file or directory |
22 |
>>>> |
23 |
>>>> These paths look strange. |
24 |
>>>> |
25 |
>>>> Does any know what's going on here? |
26 |
>>>> |
27 |
>>>> Many thanks for a hint, |
28 |
>>>> Helmut. |
29 |
>>> |
30 |
>>> Hi Helmut, |
31 |
>>> I also had this problem after installing CUPS. There is a trouble |
32 |
>>> with |
33 |
>>> permissions, AFAIR you need to check that /var/spool/cups is |
34 |
>>> accessible to your user: that is, ensure that you're in the lp group |
35 |
>>> and /var/spool/cups group is lp. I can not be sure that this dir was |
36 |
>>> the only one to check but it was the permissions which was the |
37 |
>>> problem. |
38 |
>> |
39 |
>> |
40 |
>> |
41 |
>> Thanks Juri. |
42 |
>> What do you mean by 'accessible' - here I have only group execute |
43 |
>> permission, i.e. |
44 |
>> |
45 |
>> ls -ld /var/spool/cups gives |
46 |
>> drwx--x--- 3 root lp 32768 May 14 11:37 /var/spool/cups |
47 |
> |
48 |
> Accessible really means accessible, i.e. when you are able to chdir |
49 |
> to it and see its contents. |
50 |
> Apparently, the dir lacks "group read" permission, i.e. it should be |
51 |
> drwxr-x--- |
52 |
> the `execute` bit alone doesn't allow one to access the directory. |
53 |
> That is probably a portage bug or sort of. |
54 |
|
55 |
But then any user of group 'lp' on that machine can read what others |
56 |
have spooled for printing. |
57 |
Isn't this a security breach? |
58 |
|
59 |
|
60 |
Thanks, |
61 |
Helmut. |