LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Permission denied error when printing with CUPS (https://www.linuxquestions.org/questions/linux-software-2/permission-denied-error-when-printing-with-cups-343780/)

Davidian1024 07-16-2005 01:11 PM

Permission denied error when printing with CUPS
 
I have an HP DeskJet 5740 and I just installed CUPS for a print spooler. I went through the web setup and set my printer up. However, when I try to print a test page I get the following error:
Code:

"unable to open print file "/usr/var/spool/cups/d00001-001" - Permission denied"
I have no idea what permissions need to be set in order for this to work, so I'm thinking mine are wrong. Any help would be much appreciated.

tredegar 07-18-2005 03:14 AM

Did you install cups as root? If not, it probably will not work, as it needs root permissions.

Davidian1024 07-18-2005 12:43 PM

I installed it as root. Actually I downloaded the source. Compiled it as root, and then installed it as root.

Avatar 07-18-2005 01:47 PM

Check the permissions of all of the directories:

/usr/var/spool
/usr/var/spool/cups

I forget if cups runs as it's own user, but whatever user it is, it needs to be able to write jobs into the spool directory.

I had that same problem also. (and for some reason, with my /etc/printcap file as well)


All times are GMT -5. The time now is 11:01 AM.