LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 07-16-2005, 02:11 PM   #1
Davidian1024
Member
 
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:
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.
 
Old 07-18-2005, 04:14 AM   #2
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Debian "Jessie"
Posts: 6,087

Rep: Reputation: 407Reputation: 407Reputation: 407Reputation: 407Reputation: 407
Did you install cups as root? If not, it probably will not work, as it needs root permissions.
 
Old 07-18-2005, 01:43 PM   #3
Davidian1024
Member
 
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, 02:47 PM   #4
Avatar
Member
 
Registered: May 2001
Location: Canada
Distribution: old ones
Posts: 538

Rep: Reputation: 30
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)
 
  


Reply


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 04:28 AM
Printing permission denied johnwr Linux - Hardware 3 10-25-2004 08:52 PM
Printing fine via samba, but Windows still says permission denied. Do I care? jcb4003 Linux - Newbie 2 08-26-2004 07:14 PM
sasldb Permission denied error shino Linux - Networking 0 01-15-2004 04:55 PM
permission denied error endezeichen Linux - General 5 12-20-2003 07:59 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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

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