Comment 7 for bug 908864

Revision history for this message
Christian Boltz (cboltz) wrote : Re: [apparmor] [Bug 908864] Re: My Lexmark x2650 printer stopped working after upgrading to 11.10: Idle - File "/usr/local/lexmark/lxk08/bin/printdriver" has insecure permissions (0100775/uid=0/gid=2).

Hello,

I'd say there are some unknown (obsolete?) options in your cups config
file. Quoting from troubleshoot.txt:

'E [26/Dec/2011:20:38:19 +0100] Unknown directive JobPrivateAccess on
line 88.',
'E [26/Dec/2011:20:38:19 +0100] Unknown directive JobPrivateValues on
line 89.',
'E [26/Dec/2011:20:38:19 +0100] Unknown directive
SubscriptionPrivateAccess on line 90.',
'E [26/Dec/2011:20:38:19 +0100] Unknown directive
SubscriptionPrivateValues on line 91.',

My first idea was to remove those options, however google brings up
several things related to Lexmark printers if you search for the error
messages (for example google for "Unknown directive JobPrivateAccess".
Please check if one of the google results is helpful in your case.

Then you have one error message left:

'E [26/Dec/2011:20:38:19 +0100] 2600-Series: File
"/usr/local/lexmark/lxk08/bin/printdriver" has insecure permissions
(0100775/uid=0/gid=2).',

I'd _guess_ this file has too permissive directory permissions -
group write permissions on a file in a .../bin/ directory aren't the
best idea IMHO.
What are the permissions on this file? Check with
    ls -l "/usr/local/lexmark/lxk08/bin/printdriver"
Maybe running
    sudo chmod 755 "/usr/local/lexmark/lxk08/bin/printdriver"
is already enough. You should store the old permissions (as printed by
the "ls" command above) somewhere in case you want to undo the chmod.)

Be warned that I'm using openSUSE ;-) and that my CUPS knownledge is
limited.

I doubt AppArmor is involved in your problem.

BTW: http://ubuntuforums.org/archive/index.php/t-1368410.html seems to
describe a similar problem.

Regards,

Christian Boltz
--
> Status?
NEW
[Ihno Krumreich and Stephan Kulow on
 https://bugzilla.novell.com/show_bug.cgi?id=159223]