/etc/cups/cupsd.conf cannot be read by lpadmin
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cupsys (Ubuntu) |
Fix Released
|
High
|
Martin Pitt |
Bug Description
Executing the "System \ Admin \ Printing" application does not evoke priveledge
escalation to access /usr/share/cups/ for proper configuration.
<[Chameleon]> Should the change made by the script in this bug be instant or
require a restart of X or a reboot or something?
<[Chameleon]> https:/
<[Chameleon]> basically this:
<[Chameleon]> $ sudo /usr/share/
<sivang> [Chameleon]: it doesn't require restart.
<sivang> [Chameleon]: actually, it does :) but the cups-manager now handles it.
The bug we have with it is that it doesn't ask to be sudo'd when executed, which
it needs to be able to executed that script
<[Chameleon]> because, it's not enabling the "Global Settings \ Detect LAN
Printers" menu in gnome-cups-manager
<[Chameleon]> sivang: oh, so the menu not being enabled is because the script
doesn't ask to be sudo'd?
<[Chameleon]> I ran it manually with sudo and restarted gnome-cups-manager, but
I still don't get the menu.
<sivang> [Chameleon]: well, the cups-manager has be executed sudo'd in order to
be able to access /usr/share/cups/..
<[Chameleon]> OIC
<sivang> [Chameleon]: sudo gnome-cups-manager
<[Chameleon]> $ sudo gnome-cups-manager
<[Chameleon]> Password:
<[Chameleon]> ** (gnome-
status 1030
<[Chameleon]> it's repeating the error message
<[Chameleon]> every 5 seconds
<sivang> [Chameleon]: you're cups server is un accessible
<sivang> [Chameleon]: so it seems, but am not sure. anyways it works great for
me with sudo g-c-m
<[Chameleon]> yeah, it was the server
<[Chameleon]> my server seems to be flaky lately
<[Chameleon]> the cups service needs to be restarted frequently
<[Chameleon]> I should probably remove the FC3 on it and put Ubuntu there, too.
<[Chameleon]> :)
<sivang> [Chameleon]: hehe, sure :)
<[Chameleon]> sivang: thank you for your help.
<[Chameleon]> I was going to write this up since it seemed to be a bug, but
apparently it's already a known issue.
<sivang> [Chameleon]: I'd appriciate if you opene a bug about the fact it must
be executed sudo manually
<sivang> [Chameleon]: this does seems a bug to me :)
<[Chameleon]> sivang: you got it. :)
<sivang> [Chameleon]: if you can , assign it to me
<[Chameleon]> k
There is no reason to have so little permissions on cupsd.conf. cupsys should
just stop to fiddle with conffile permissions in the first place.