From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1Np58V-0002Uo-LL for garchives@archives.gentoo.org; Tue, 09 Mar 2010 19:30:35 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 48F86E0C18; Tue, 9 Mar 2010 19:29:37 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 20C1FE0C18 for ; Tue, 9 Mar 2010 19:29:37 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp.gentoo.org (Postfix) with ESMTP id AA9CE1B4040 for ; Tue, 9 Mar 2010 19:29:36 +0000 (UTC) X-Virus-Scanned: amavisd-new at gentoo.org X-Spam-Score: -2.116 X-Spam-Level: X-Spam-Status: No, score=-2.116 required=5.5 tests=[AWL=-0.136, BAYES_00=-2.599, RCVD_IN_SORBS_WEB=0.619] Received: from smtp.gentoo.org ([127.0.0.1]) by localhost (smtp.gentoo.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id cQFHvJC+BKic for ; Tue, 9 Mar 2010 19:29:30 +0000 (UTC) Received: from lo.gmane.org (lo.gmane.org [80.91.229.12]) by smtp.gentoo.org (Postfix) with ESMTP id EC8A11B405A for ; Tue, 9 Mar 2010 19:29:24 +0000 (UTC) Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1Np57L-000221-2M for gentoo-user@gentoo.org; Tue, 09 Mar 2010 20:29:23 +0100 Received: from hsi-kbw-078-042-100-171.hsi3.kabel-badenwuerttemberg.de ([78.42.100.171]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 09 Mar 2010 20:29:23 +0100 Received: from joerg.schaible by hsi-kbw-078-042-100-171.hsi3.kabel-badenwuerttemberg.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 09 Mar 2010 20:29:23 +0100 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: gentoo-user@gentoo.org To: gentoo-user@lists.gentoo.org From: =?UTF-8?B?SsO2cmc=?= Schaible Subject: [gentoo-user] Re: CUPS-PDF failing Followup-To: gmane.linux.gentoo.user Date: Tue, 09 Mar 2010 20:29:08 +0100 Message-ID: References: <79e3aefb1003082253p416a641fs78d11e8247f96b41@mail.gmail.com> 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 Content-Type: text/plain; charset="UTF-8" X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: hsi-kbw-078-042-100-171.hsi3.kabel-badenwuerttemberg.de Mail-Copies-To: nobody User-Agent: KNode/4.3.5 Content-Transfer-Encoding: quoted-printable X-Archives-Salt: 72b63178-f8a4-44cd-905d-f9ff5423491a X-Archives-Hash: f2fe15ed8f6ebdd828e3be48460d2d74 Dirk Uys wrote: > Hi >=20 > I'm getting the following error from /var/log/cups/cups-pdf_log when I = try > to print to a PDF printer: >=20 > [ERROR] failed to set file mode for PDF file (non fatal) > (/var/spool/cups-pdf/dc_u/HOWTO__Install_Cups-PDF_-_Page_4_- _Ubuntu_Forums.pdf) >=20 > I tried changing permission of /var/spool/cups-pdf/dc_u to "a+rwx", but > that made no difference. There are a bunch of emails and bugs about thi= s > on Ubuntu related forums, but it seems that the problem is related to > AppAmor? >=20 > Does anyone have any suggestions to resolve the problem? Look into /etc/cups/cups-pdf. The individual spool directories must have=20 proper access rights (like .ssh in your home) and match the UserUMask=20 setting. Otherwise cups-pdf will not generate the PDF, simply because oth= ers=20 might access the directory also. With all settings as default, it should look like this: $ ll /var/spool/cups-pdf/ drwxr-xr-x 6 root root 54 2007-10-01 19:01 ./ drwxr-xr-x 7 root root 78 2007-08-25 16:50 ../ drwx------ 2 jdoe lp 6 2007-10-01 19:01 jdoe/ drwxr-x--x 2 root lp 6 2010-03-01 13:41 SPOOL/ - J=C3=B6rg