public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Yuri K. Shatroff" <yks-uno@yandex.ru>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] cups settup broken? - please help
Date: Tue, 14 May 2013 14:01:52 +0400	[thread overview]
Message-ID: <51920B90.6060707@yandex.ru> (raw)
In-Reply-To: <51920A0B.9080108@yandex.ru>

On 14.05.2013 13:55, Yuri K. Shatroff wrote:
> On 14.05.2013 13:42, Helmut Jarausch wrote:
>> On 05/14/2013 11:15:29 AM, Yuri K. Shatroff wrote:
>>> On 14.05.2013 13:05, Helmut Jarausch wrote:
>>>> Hi,
>>>> recently I have problems with CUPS (1.6.2) with cups-filters-1.0.34
>>>>
>>>> I see lots of strange error messages in /var/log/cups/error_log like
>>>>
>>>>
>>>> Filter "pdftops" not found.
>>>>
>>>>   but there is a /usr/libexec/cups/filter/pdftops
>>>>
>>>>    and then
>>>>
>>>>
>>>> ps: File "/etc/cups/${EPREFIX}/usr/libexec/cups/filter/commandtops" not
>>>> available: No such file or directory
>>>>
>>>> These paths look strange.
>>>>
>>>> Does any know what's going on here?
>>>>
>>>> Many thanks for a hint,
>>>> Helmut.
>>>
>>> Hi Helmut,
>>> I also had this problem after installing CUPS. There is a trouble with
>>> permissions, AFAIR you need to check that /var/spool/cups is
>>> accessible to your user: that is, ensure that you're in the lp group
>>> and /var/spool/cups group is lp. I can not be sure that this dir was
>>> the only one to check but it was the permissions which was the problem.
>>
>>
>>
>> Thanks Juri.
>> What do you mean by 'accessible' - here I have only group execute
>> permission, i.e.
>>
>> ls -ld /var/spool/cups  gives
>> drwx--x--- 3 root lp 32768 May 14 11:37 /var/spool/cups
>
> Accessible really means accessible, i.e. when you are able to chdir to
> it and see its contents.
> Apparently, the dir lacks "group read" permission, i.e. it should be
> drwxr-x---
> the `execute` bit alone doesn't allow one to access the directory.
> That is probably a portage bug or sort of.

Well, sorry, I must be wrong, I have the same
drwx--x---
on /var/spool/cups. But I remember that I had to change permissions 
somewhere to make the filter work... I was in a hurry so I can't recall 
the exact place, alas.


-- 
Best wishes,
Yuri K. Shatroff


  parent reply	other threads:[~2013-05-14 10:02 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-05-14  9:05 [gentoo-user] cups settup broken? - please help Helmut Jarausch
2013-05-14  9:15 ` Yuri K. Shatroff
2013-05-14  9:42   ` Helmut Jarausch
2013-05-14  9:55     ` Yuri K. Shatroff
2013-05-14 10:00       ` Helmut Jarausch
2013-05-14 10:05         ` Alan McKinnon
2013-05-14 10:41           ` Yuri K. Shatroff
2013-05-14 10:01       ` Yuri K. Shatroff [this message]
  -- strict thread matches above, loose matches on Subject: below --
2013-05-14 15:21 Charles Waldman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=51920B90.6060707@yandex.ru \
    --to=yks-uno@yandex.ru \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox