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 1NpGez-00029K-To for garchives@archives.gentoo.org; Wed, 10 Mar 2010 07:48:56 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 08DC7E0AB4; Wed, 10 Mar 2010 07:48:00 +0000 (UTC) Received: from mail-ww0-f53.google.com (mail-ww0-f53.google.com [74.125.82.53]) by pigeon.gentoo.org (Postfix) with ESMTP id C46DDE0AB4 for ; Wed, 10 Mar 2010 07:47:59 +0000 (UTC) Received: by wwi17 with SMTP id 17so537109wwi.40 for ; Tue, 09 Mar 2010 23:47:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=a+rysnMl9dBEcKUlvSpLUTFIqFPFu+I8rhqQN27HKv0=; b=NYlFhzeKsT7XRYksveuNZlEqToRb49tP1CyfSiTyceeEAMxpD2PcGJC7tXMcx588b3 8zxRGMufBtGNKXPPlQoIGQscspXaYLHAfChDvSY6rNBO0daNXC4JjLFuxVS5neOwes2e IObztZI9h3hQ8tZVJgv8jTuumB/NzG8zqhpFw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=UaI6JYv8MtdRG1eOF31i5VSjHGzOkBSqpr/0Sh97khQqckLOAQPmeuMlI9VduSseri UKGnb+c37HCPnCbSMghRbn1NSCzaPftyxU7facshl9Oz6cNqIZG5qpUHltaiBYAIKX0y 17inXhSfRPxH95mV2gRJzKs6gm2Jnz7UzJDWU= 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 Received: by 10.216.180.202 with SMTP id j52mr658895wem.214.1268207279063; Tue, 09 Mar 2010 23:47:59 -0800 (PST) In-Reply-To: References: <79e3aefb1003082253p416a641fs78d11e8247f96b41@mail.gmail.com> Date: Wed, 10 Mar 2010 09:47:59 +0200 Message-ID: <79e3aefb1003092347j128dbb66s7c5943bbebbfe6ed@mail.gmail.com> Subject: Re: [gentoo-user] Re: CUPS-PDF failing From: Dirk Uys To: gentoo-user@lists.gentoo.org, gentoo-user@gentoo.org Content-Type: multipart/alternative; boundary=0016e656b5985ec37d04816d845b X-Archives-Salt: 440112e3-74e3-4579-98d4-38112001c933 X-Archives-Hash: b506307c44e7ffd7994b1c257c6c4bae Message-ID: <20100310074759.jOXKRzYvOR6RxMHMSUvLo4Milq8hjPltGPM4pdk3tk0@z> --0016e656b5985ec37d04816d845b Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On Tue, Mar 9, 2010 at 9:29 PM, J=F6rg Schaible wro= te: > > Look into /etc/cups/cups-pdf. The individual spool directories must have > proper access rights (like .ssh in your home) and match the UserUMask > setting. Otherwise cups-pdf will not generate the PDF, simply because > others > 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=F6rg > > I changed my permission to match those above, but I get the same error in the logs. Pardon my ignorance, but what do you mean "and match the UserUMask"? My umask is currently set to 0022. Regards Dirk --0016e656b5985ec37d04816d845b Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
On Tue, Mar 9, 2010 at 9:29 PM, J=F6rg Schaible = <joerg.schaib= le@gmx.de> wrote:

Look into /etc/cups/cups-pdf. The individual spool directories = must have
proper access rights (like .ssh in your home) and match the UserUMask
setting. Otherwise cups-pdf will not generate the PDF, simply because other= s
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 =A0 root =A0 54 2007-10-01 19:01 ./
drwxr-xr-x 7 root =A0 root =A0 78 2007-08-25 16:50 ../
drwx------ 2 jdoe =A0 lp =A0 =A0 =A06 2007-10-01 19:01 jdoe/
drwxr-x--x 2 root =A0 lp =A0 =A0 =A06 2010-03-01 13:41 SPOOL/


- J=F6rg


I changed my permission to match those abo= ve, but I get the same error in the logs.

Pardon my ignorance, but w= hat do you mean "and match the UserUMask"? My umask is currently = set to 0022.

Regards
Dirk
--0016e656b5985ec37d04816d845b--