[Pkg-cups-devel] Bug#423198: cupsys: "Unable to open parallel port device file "/dev/lp0": Permission, denied"

Graham M Whittenberg csdiwhitt at musfiber.com
Thu Aug 7 02:11:20 UTC 2008


I tried to subscribe to this, but when I did I got a lot of Evolution 
stuff.  I don't use Eveloution.  I tried it, but Thunderbird is a much 
better e-mail package.

I am using:

Ubuntu 8.04 (hardy)
2.22.3 (Ubuntu 2008-07-09)
2.6.24-19-generic (#1 SMP Fri Jul 11 21:01:46 UTC 2008)
Linux
4.2.3 (x86_64-linux-gnu)
unknown (13 June 2008  01:10:57AM)
whitt-desktop

Here is the message that I recieve:

Aug  6 17:25:20 whitt-desktop kernel: [12507.816239] 
audit(1218057920.574:9): type=1503 operation="inode_permission" 
requested_mask="::rw" denied_mask="::rw" name="/dev/tty" pid=16125 
profile="/usr/sbin/cupsd" namespace="default"

This problem is pervasive and has been causing a lot a lot of grief.  
Many of the Bug reports have the same complaint;  "Cups cannot print on 
UBS or Parallel port printers.

There has to be a better answer that mucking about in Linux to change 
authorization procedures.  I have a feeling that many of these bug 
reports will go away if some is smart enough to tell us what values to 
put into "User Settings" of "User and Groups".  I got this far by 
checking with a non programmer who has a UBS printer running:

      Account
Real name:  default
Set Password by Hand

User Privileges
Manage printer

Advanced
Home directory:  /home/default
Shell:  /bin/bash
Main group:  default
User ID:  1004

Now I don't have any idea what most of this means,  I am new at Linux, 
but he doesn't get the denied_mask="::rw" message and his printer 
works.  Unfortunately his son-in-law set it up for him and he is very 
ill at the moment so I can't get his reasons for the entries.  Some of 
those listed above were filled in for me by User Settings.

I know that I am coming in the back door, but some of this may make 
sense to people with some experience with Linux.  New desktop user 
haven't had the time to learn.

I hope this is more helpful than a bother, if so I would appreciate any 
advice you could send me.

-- 
Graham M. Whittenberg
Morristown, TN






More information about the Pkg-cups-devel mailing list