Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 07-16-2005, 01:11 PM   #1
Registered: Jun 2004
Location: Cleveland, Ohio, USA
Distribution: LFS
Posts: 35

Rep: Reputation: 15
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:
"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.
Old 07-18-2005, 03:14 AM   #2
LQ 5k Club
Registered: May 2003
Location: London, UK
Distribution: Debian "Testing"
Posts: 6,116

Rep: Reputation: 416Reputation: 416Reputation: 416Reputation: 416Reputation: 416
Did you install cups as root? If not, it probably will not work, as it needs root permissions.
Old 07-18-2005, 12:43 PM   #3
Registered: Jun 2004
Location: Cleveland, Ohio, USA
Distribution: LFS
Posts: 35

Original Poster
Rep: Reputation: 15
I installed it as root. Actually I downloaded the source. Compiled it as root, and then installed it as root.
Old 07-18-2005, 01:47 PM   #4
Registered: May 2001
Location: Canada
Distribution: old ones
Posts: 550

Rep: Reputation: 32
Check the permissions of all of the directories:


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)


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
cps printing problem - /var/spool (permission denied) carboncopy Slackware 10 11-11-2004 03:28 AM
Printing permission denied johnwr Linux - Hardware 3 10-25-2004 07:52 PM
Printing fine via samba, but Windows still says permission denied. Do I care? jcb4003 Linux - Newbie 2 08-26-2004 06:14 PM
sasldb Permission denied error shino Linux - Networking 0 01-15-2004 03:55 PM
permission denied error endezeichen Linux - General 5 12-20-2003 06:59 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:15 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration