LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 03-14-2011, 02:36 PM   #1
patostevens
Member
 
Registered: Dec 2007
Location: Kennewick,WA
Distribution: Slackware 14
Posts: 170

Rep: Reputation: 21
new and strange printer problems


I'm running a standard 13.1 32 bit install with an HP deskjet 990C, run off of USB. Until today everything has printed properly. Now nothing prints. Nothing has been installed unless it came through slackpkg, and yes it is still on the correct setting for arch and revision. CUPS shows printer as installed, accepting jobs an idle. No error messages are appearing but nothing is reaching the printer. The info I can glean is from the error logs in CUPS:

E [14/Mar/2011:10:56:30 -0700] Filter "/usr/lib/cups/filter/rastertogutenprint.5.2" for printer "HP_DeskJet_990C" has insecure permissions (0100757)
E [14/Mar/2011:10:56:47 -0700] Filter "/usr/lib/cups/filter/rastertogutenprint.5.2" for printer "HP_DeskJet_990C" has insecure permissions (0100757)
E [14/Mar/2011:10:56:59 -0700] Unable to execute /usr/lib/cups/filter/pstoraster: insecure file permissions (0100757)
E [14/Mar/2011:10:56:59 -0700] [Job 29] Unable to start filter "pstoraster" - Operation not permitted.
E [14/Mar/2011:10:56:59 -0700] [Job 29] Stopping job because the scheduler could not execute a filter.
E [14/Mar/2011:10:57:20 -0700] Unable to execute /usr/lib/cups/filter/pstoraster: insecure file permissions (0100757)
E [14/Mar/2011:10:57:20 -0700] [Job 29] Unable to start filter "pstoraster" - Operation not permitted.
E [14/Mar/2011:10:57:20 -0700] [Job 29] Stopping job because the scheduler could not execute a filter.
E [14/Mar/2011:10:58:29 -0700] Unable to execute /usr/lib/cups/filter/pstoraster: insecure file permissions (0100757)
E [14/Mar/2011:10:58:29 -0700] [Job 30] Unable to start filter "pstoraster" - Operation not permitted.
E [14/Mar/2011:10:58:29 -0700] [Job 30] Stopping job because the scheduler could not execute a filter.
E [14/Mar/2011:10:59:56 -0700] [cups-deviced] PID 12155 (hpfax) stopped with status 13!
E [14/Mar/2011:11:00:13 -0700] Unable to execute /usr/lib/cups/filter/pstoraster: insecure file permissions (0100757)
E [14/Mar/2011:11:00:13 -0700] [Job 29] Unable to start filter "pstoraster" - Operation not permitted.
E [14/Mar/2011:11:00:13 -0700] [Job 29] Stopping job because the scheduler could not execute a filter.
E [14/Mar/2011:11:10:26 -0700] Unable to execute /usr/lib/cups/filter/pstoraster: insecure file permissions (0100757)
E [14/Mar/2011:11:10:26 -0700] [Job 31] Unable to start filter "pstoraster" - Operation not permitted.
E [14/Mar/2011:11:10:26 -0700] [Job 31] Stopping job because the scheduler could not execute a filter.
E [14/Mar/2011:11:15:06 -0700] Unable to execute /usr/lib/cups/filter/pstoraster: insecure file permissions (0100757)
E [14/Mar/2011:11:15:06 -0700] [Job 32] Unable to start filter "pstoraster" - Operation not permitted.
E [14/Mar/2011:11:15:06 -0700] [Job 32] Stopping job because the scheduler could not execute a filter.


The general permissions for these files (which I have not touched) do NOT include execute even for root. Since I don't know anything about these, thought I would leave it to wiser minds than mine. Do I just change permission in the relevant directories or should something else be done.

Last edited by patostevens; 03-15-2011 at 12:34 AM.
 
Old 03-14-2011, 03:03 PM   #2
business_kid
Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware & Android
Posts: 6,564

Rep: Reputation: 579Reputation: 579Reputation: 579Reputation: 579Reputation: 579Reputation: 579
Have you tried removing the printer, restarting cups, and reinstalling it?
 
Old 03-14-2011, 08:41 PM   #3
patostevens
Member
 
Registered: Dec 2007
Location: Kennewick,WA
Distribution: Slackware 14
Posts: 170

Original Poster
Rep: Reputation: 21
I did remove the printer, etc. I also removed and reinstalled CUPS. Neither made any difference to the problem.
 
Old 03-14-2011, 10:31 PM   #4
allend
Senior Member
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware-current
Posts: 3,485

Rep: Reputation: 856Reputation: 856Reputation: 856Reputation: 856Reputation: 856Reputation: 856Reputation: 856
Quote:
E [14/Mar/2011:10:56:30 -0700] Filter "/usr/lib/cups/filter/rastertogutenprint.5.2" for printer "HP_DeskJet_990C" has insecure permissions (0100757)
On my 13.1 stock install 'ls -l /usr/lib/cups/filter/rastertogutenprint.5.2' shows:
Quote:
-rwxr-xr-x 1 root root 38208 2010-02-23 10:49 /usr/lib/cups/filter/rastertogutenprint.5.2
The log entry suggests you have -rwxr-xrwx as permissions.

PS- What is the ouput of 'ls -l /usr/lib/cups' ?
I see:
Quote:
total 1
drwxr-xr-x 2 root root 416 2011-01-22 23:11 backend
drwxr-xr-x 2 root root 192 2010-12-15 10:14 cgi-bin
drwxr-xr-x 2 root root 168 2010-12-15 10:14 daemon
drwxr-xr-x 2 root root 80 2010-12-15 10:13 driver
drwxr-xr-x 2 root root 952 2011-01-22 23:11 filter
drwxr-xr-x 2 root root 96 2010-12-15 10:14 monitor
drwxr-xr-x 2 root root 120 2010-12-15 10:14 notifier

Last edited by allend; 03-14-2011 at 10:35 PM.
 
Old 03-15-2011, 12:34 AM   #5
patostevens
Member
 
Registered: Dec 2007
Location: Kennewick,WA
Distribution: Slackware 14
Posts: 170

Original Poster
Rep: Reputation: 21
It seems to be my mission in life to ask for help and then have magical cures appear. I removed and re-installed the printer one more time and that seems to have cured things. Personally, I think that there are M$ bugs floating in the nearby air. (My wife is a follower of the evil empire.) Thanks for the suggestions. I guess something got corrupted somewhere.
 
Old 11-15-2012, 10:01 PM   #6
nomasteryoda
LQ Newbie
 
Registered: Sep 2008
Posts: 9

Rep: Reputation: 0
Smile Solution - cups permissions

Long time user of LQ - know Jeremy...

... sorry to say I seldom post.

I followed the post mostly to the letter, and had been researching this on the ArchLinux forums.

I followed the python symbolic link change in this post:
https://bbs.archlinux.org/viewtopic.php?pid=851700

This did nothing that I could tell... HPLIP was already installed from months ago. I just settled for printing from a Fedora desktop.

Finally your post got me to thinking about the directory permissions. How?

I opened one terminal and tailed the error log:

Code:
# tail -f /var/log/cups/error.log
while using the kde printer configuration gui. The errors keep coming...

Here are some of the messages:

Code:
HP_LaserJet_Professional_P1102w: Directory "/usr/lib/cups/filter" has insecure permissions (040775/uid=0/gid=0).                                        
E [15/Nov/2012:21:42:38 -0500] [cups-driverd] Bad driver information file "/usr/share/cups/model/foomatic-db-ppds/Kyocera/ReadMe.htm"!
I see permissions change all the time during pacman -Syu updates and don't think much of them. I change permissions for files when needed every day.

I thought hey, that's insecure like the message says, and tried changing permissions to 744. That was a mistake because the enable button suddenly became uncheckable in the kde printer configuration dialog.

I solved this by using the following:
Code:
chmod 755 /usr/lib/cups/*
This mystery is now solved in my opinion... I clicked print test page and it just worked!!!

Very sweet indeed!!

Now I can kick Fedora and Ubuntu and go full Arch!! - Happily using ArchLinux since January 2012 - Rolling release is the only way - once you try, you never go back.

Last edited by nomasteryoda; 11-15-2012 at 10:11 PM. Reason: left out python change
 
  


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
Strange printer problem. ccin1492 Linux - Hardware 2 03-07-2007 06:38 PM
printer with strange behevior henk32 Linux - Hardware 3 11-27-2005 05:34 PM
Printing to XP shared printer, strange problems michaelsanford Linux - Networking 4 05-03-2005 04:35 PM
KDE printer problem, very strange atlep Linux - Software 0 02-03-2005 09:32 AM
Samba printer - strange! andrec_ufmg Linux - Hardware 1 01-28-2003 04:50 PM


All times are GMT -5. The time now is 08:33 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration