Red Hat Bugzilla – Bug 510831
PolicyKit prevents user to add new network printer
Last modified: 2009-07-24 08:52:59 EDT
Description of problem:
When trying to add a new network printer via s-c-p, the user is stuck on panel "Describe Printer" after entering printer name, description and Location and hitting button "Apply". An error message pops up reporting:
"Unauthorized request (addPrinter)"
"You are not authorized to carry out the requested action."
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Launch s-c-p.
2. Add new network printer.
s-c-p is stuck when user tries to confirm printer information.
s-c-p accepts printer information and installs new printer.
- No problem when launching s-c-p as root from a shell.
- Prior removal of package cups-pk-helper also allows to complete the setup.
Did you not get an authentication dialog asking you to enter the root password ?
Yes, I did when I clicked the "New" button in the main panel. After entering the root password the procedure continues until it gets stuck when confirming the final printer settings.
I do remember though that a couple of weeks ago I was prompted a -second- time with a slightly different authentication dialog [some OpenSUSE stuff; adding the printer still failed but that might give a clue].
it seems that you have not enough rights for this action.
Could you attach your /usr/share/polkit-1/actions/org.opensuse.cupspkhelper.mechanism.policy ?
Created attachment 353996 [details]
cupspkhelper mechanism policy of cups-pk-helper-0.0.4-2.fc12
Unaltered copy of file "org.opensuse.cupspkhelper.mechanism.policy" as included in package cups-pk-helper-0.0.4-2.fc12.
The policy file looks correct. Do you have the same problem with creating copy of a local printer or with creating new class?
Issue fixed on a system with the following packages:
since it works for you, I'm closing this bug with resolution RAWHIDE.