Unable to open file "/var/spool/cups/d00004-001" - Permission denied

Rob McMahon Rob.McMahon at warwick.ac.uk
Fri Jul 13 04:55:15 PDT 2007


Kyle Jones wrote:
> Hello,
> I am trying to get cups working on a non-standard Debian install and after much fiddling I am finally able to get cups to get to the point of allowing me to set up printers and attempt to print a test page.
> The problem seems to be that the jobs stops at "Unable to open file "/var/spool/cups/d00004-001" - Permission denied"
> Below is a copy of the cups log as well as my cupsd.conf and an ls -al /var/spool/cups
> 
> Any help would be greatly appreciated.
> If this is a particularly difficult problem to solve then I would be willing to talk $s...
> Thanks,
> Kyle
> 

I had the same problem.  A quick truss showed:

13056:  open64("/usr/local/var/spool/cups/d00004-001", O_RDONLY) Err#13 
EACCES [file_dac_search]

The file_dac_search was a dead giveaway (I love Solaris 10).  It turned 
out that the cups user had no execute access on /usr/local/var/spool.  A 
quick chmod +x on that directory fixed the problem.  Check the 
permissions on every directory leading down to your spool directory.

Rob




More information about the cups mailing list