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 13:55:23 +0400 [thread overview]
Message-ID: <51920A0B.9080108@yandex.ru> (raw)
In-Reply-To: <1368524526.3130.0@numa-i>
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.
> And what do you have in /etc/cups/cups-files.conf
Actually I didn't even look there. Yes, everything is the same.
> Here I still have
>
> # Default user and group for filters/backends/helper programs; this
> cannot be
> # any user or group that resolves to ID 0 for security reasons...
> #User lp
> #Group lp
>
> # Administrator user group, used to match @SYSTEM in cupsd.conf policy
> rules...
> SystemGroup lpadmin
>
>
> # User that is substituted for unauthenticated (remote) root accesses...
> #RemoteRoot remroot
>
> Many thanks again
> Helmut.
>
--
Best wishes,
Yuri K. Shatroff
next prev parent reply other threads:[~2013-05-14 9:55 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 [this message]
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
-- 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=51920A0B.9080108@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