[cups] Couldn't open file Permission denied on spool files
Collins, David
DavidD.Collins at irco.com
Fri May 6 12:59:42 PDT 2016
Helge,
This was in /etc/cups/cupsd.conf
SystemGroup sys root (Left this directive)
There wasn't a Group directive so added this:
Group lp
Files are getting created with lp however still getting this error in the error_log
D [06/May/2016:20:55:07 +0100] [Job 173] Started filter /usr/lib/cups/filter/gziptoany (PID 15352)
D [06/May/2016:20:55:07 +0100] [Job 173] Set job-printer-state-message to "Unable to open file "/cups/spool/d00173-001": Permission denied", current level=ERROR
D [06/May/2016:20:55:07 +0100] [Job 173] End of messages
D [06/May/2016:20:55:07 +0100] [Job 173] printer-state=3(idle)
D [06/May/2016:20:55:07 +0100] [Job 173] printer-state-message="Unable to open file "/cups/spool/d00173-001": Permission denied"
D [06/May/2016:20:55:07 +0100] [Job 173] printer-state-reasons=none
-rw-r----- 1 root lp 95344 May 6 20:55 d00173-001
-rw------- 1 root lp 798 May 6 20:55 c00173
David Collins
Engineered Systems Sr. Admin.
Ingersoll Rand, Corporate
Phone: Phone: (612) 655-4814
Email: davidd.collins at irco.com
-----Original Message-----
From: cups-bounces at cups.org [mailto:cups-bounces at cups.org] On Behalf Of Helge Blischke
Sent: Friday, May 06, 2016 2:33 PM
To: The CUPS user discussion list.
Subject: Re: [cups] Couldn't open file Permission denied on spool files
> Am 06.05.2016 um 21:24 schrieb Collins, David <DavidD.Collins at irco.com>:
>
> Hi Helge,
>
> I think you are on the right track
>
> I changed spool directory as follows:
> drwx--s--- 3 root lp 273 May 6 20:09 spool
>
> I printed another file and I see it's getting created with group nobody.
> -rw-r----- 1 root nobody 95344 May 6 20:08 d00170-001
>
> The filter it's going through is:
> -rwxrwxr-x 1 root lp 10456 Jun 17 2015 gziptoany
>
> How do we get cups to create the file as group lp ?
>
> Still getting the error:
> "Unable to open file "/ir_cups/spool/d00172-001": Permission denied"
>
>
> David Collins
Look into /etc/cups/cupsd.conf (as root) and look for a Group directive.
I that is nobody, try changing it to lp.
Helge
_______________________________________________
cups mailing list
cups at cups.org
https://www.cups.org/mailman/listinfo/cups
________________________________
The information contained in this message is privileged and intended only for the recipients named. If the reader is not a representative of the intended recipient, any review, dissemination or copying of this message or the information it contains is prohibited. If you have received this message in error, please immediately notify the sender, and delete the original message and attachments.
More information about the cups
mailing list