From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 6F9621381F3 for ; Tue, 14 May 2013 09:55:33 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C17CFE08F3; Tue, 14 May 2013 09:55:26 +0000 (UTC) Received: from forward4.mail.yandex.net (forward4.mail.yandex.net [77.88.46.9]) by pigeon.gentoo.org (Postfix) with ESMTP id 637B2E08D2 for ; Tue, 14 May 2013 09:55:25 +0000 (UTC) Received: from smtp2.mail.yandex.net (smtp2.mail.yandex.net [77.88.46.102]) by forward4.mail.yandex.net (Yandex) with ESMTP id D13751BC1AC4 for ; Tue, 14 May 2013 13:55:23 +0400 (MSK) Received: from smtp2.mail.yandex.net (localhost [127.0.0.1]) by smtp2.mail.yandex.net (Yandex) with ESMTP id B5FDCE2082D for ; Tue, 14 May 2013 13:55:23 +0400 (MSK) Received: from 31.207.71.159.pppoe-dynamic.pushkinnet.ru (31.207.71.159.pppoe-dynamic.pushkinnet.ru [31.207.71.159]) by smtp2.mail.yandex.net (nwsmtp/Yandex) with ESMTP id IMjU18rJvP-tNkKrZ7l; Tue, 14 May 2013 13:55:23 +0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1368525323; bh=ZQJaUJzw4JtPQwnymTZtDM8vVH0A4CB3LQyqyxPWvLg=; h=Message-ID:Date:From:User-Agent:MIME-Version:To:Subject: References:In-Reply-To:Content-Type:Content-Transfer-Encoding; b=S/TlQOcafBP+nKZoArazSxeuYJLGFp9VpsSlWgF1KOEprKufZN+C0hhVNbnjbHZu9 k5Ik7Dym2fbAJi1NVDBiDxHA4Kn1Jybx+wJrtGSppDOEPDP6baqHmI0lsCzJKqSB17 NGXyIU9Eo7hNgqccOgBjf0qcZDgOe498g+rp/Nwo= Authentication-Results: smtp2.mail.yandex.net; dkim=pass header.i=@yandex.ru Message-ID: <51920A0B.9080108@yandex.ru> Date: Tue, 14 May 2013 13:55:23 +0400 From: "Yuri K. Shatroff" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130412 Thunderbird/17.0.5 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] cups settup broken? - please help References: <1368522316.32490.0@numa-i> <519200B1.9000601@yandex.ru> <1368524526.3130.0@numa-i> In-Reply-To: <1368524526.3130.0@numa-i> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Archives-Salt: 0fc44216-fe85-4d93-8cdd-5f27a1824982 X-Archives-Hash: c7a958683fb42319bc6590d2ef9f6c04 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