Gentoo Archives: gentoo-user

From: "Jörg Schaible" <joerg.schaible@×××.de>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Re: Re: CUPS-PDF failing
Date: Wed, 10 Mar 2010 22:28:55
Message-Id: hn96dg$2k6$1@dough.gmane.org
In Reply to: Re: [gentoo-user] Re: CUPS-PDF failing by Dirk Uys
1 Hi Dirk,
2
3 Dirk Uys wrote:
4
5 > On Tue, Mar 9, 2010 at 9:29 PM, Jörg Schaible <joerg.schaible@×××.de>
6 > wrote:
7 >
8 >>
9 >> Look into /etc/cups/cups-pdf. The individual spool directories must have
10 >> proper access rights (like .ssh in your home) and match the UserUMask
11 >> setting. Otherwise cups-pdf will not generate the PDF, simply because
12 >> others
13 >> might access the directory also.
14 >>
15 >> With all settings as default, it should look like this:
16 >>
17 >> $ ll /var/spool/cups-pdf/
18 >> drwxr-xr-x 6 root root 54 2007-10-01 19:01 ./
19 >> drwxr-xr-x 7 root root 78 2007-08-25 16:50 ../
20 >> drwx------ 2 jdoe lp 6 2007-10-01 19:01 jdoe/
21 >> drwxr-x--x 2 root lp 6 2010-03-01 13:41 SPOOL/
22 >>
23 >>
24 >> - Jörg
25 >>
26 >>
27 > I changed my permission to match those above, but I get the same error in
28 > the logs.
29
30 It fixed the issue for me once.
31
32 > Pardon my ignorance, but what do you mean "and match the UserUMask"? My
33 > umask is currently set to 0022.
34
35 It's a setting in /etc/cups/cups-pdf
36
37 - Jörg