[cups] Couldn't open file Permission denied on spool files
Collins, David
DavidD.Collins at irco.com
Fri May 6 12:24:20 PDT 2016
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
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 1:50 PM
To: The CUPS user discussion list.
Subject: Re: [cups] Couldn't open file Permission denied on spool files
> Am 06.05.2016 um 20:19 schrieb Collins, David <DavidD.Collins at irco.com>:
>
> Can someone give me a tip on permission issues in the spool directory when try to reprint a job and receiving jobs?
> I'm getting this error in cups 1.4.2-67
>
> I can't figure out what user other than root/lp would be executing out of the cupsd. I know if I change the permissions to 644 it works so someone else other than root/lp is executing this.
>
> drwx--x--- 3 root nobody 255 May 6 19:14 /cups/spool
> -rw-r----- 1 root nobody 95614 May 6 12:00 /cups/spool/d00146-001
>
> Error: Couldn't open file '/cups/spool/d00146-001': Permission denied.
>
> root 8156 1 0 17:33 ? 00:00:48 cupsd -C /etc/cups/cupsd.conf
>
Are you sure that nobody is set as the group the cups filters are running as?
Usually the default is group lp (or _lp, depending on system configuration).
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