[Bug 550073] New: yast scanner module fails to get root privileges
http://bugzilla.novell.com/show_bug.cgi?id=550073 Summary: yast scanner module fails to get root privileges Classification: openSUSE Product: openSUSE 11.2 Version: RC 1 Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Installation AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: jw@novell.com QAContact: jsrain@novell.com CC: jsmeix@novell.com Found By: --- I connect my USB scanner (HP PSC 5280) and cannot configure it. Klick on the green geeko head, KDE menu opens. Type 'scanner' into the search field. Click 'Configure a scanner' -> YasT2 opens, and a popup appears 'Root Privileges Needed. ... If you continue now, the module may not function properly. ... Clicking 'Continue' indeed causes an error message 'sh: /var/lib/YaST2/scanner_database.ycp: Permission denied' Only other choice is 'cancel'. Please add a query box asking for root privileges before calling this yast module. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=550073
Andreas Jaeger
http://bugzilla.novell.com/show_bug.cgi?id=550073
User lnussel@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=550073#c1
Ludwig Nussel
http://bugzilla.novell.com/show_bug.cgi?id=550073
User jsmeix@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=550073#c2
Johannes Meixner
http://bugzilla.novell.com/show_bug.cgi?id=550073
User jsmeix@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=550073#c3
--- Comment #3 from Johannes Meixner
http://bugzilla.novell.com/show_bug.cgi?id=550073
User kmachalkova@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=550073#c4
Katarina Machalkova
I don't know anything about this desktop or whatever magic stuff. I need info from someone probably from the YaST team or whoever may know about this magic how to fix it correctly.
Yep, I can help here :) In fact, Ludwig already did too, in comment #1. Just append this line X-KDE-SubstituteUID=true to scanner.desktop (it is part of yast2-scanner sources). Done. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=550073
User jsmeix@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=550073#c5
Johannes Meixner
http://bugzilla.novell.com/show_bug.cgi?id=550073
User jsmeix@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=550073#c6
Johannes Meixner
http://bugzilla.novell.com/show_bug.cgi?id=550073
User jsmeix@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=550073#c7
--- Comment #7 from Johannes Meixner
http://bugzilla.novell.com/show_bug.cgi?id=550073
User jw@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=550073#c8
Juergen Weigert
http://bugzilla.novell.com/show_bug.cgi?id=550073
User kmachalkova@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=550073#c9
--- Comment #9 from Katarina Machalkova
/usr/share/applications/YaST2/SD_Reports.desktop /usr/share/applications/YaST2/SD_add_profile.desktop /usr/share/applications/YaST2/SD_control_panel.desktop /usr/share/applications/YaST2/SD_delete_profile.desktop /usr/share/applications/YaST2/SD_edit_profile.desktop /usr/share/applications/YaST2/SD_genprof.desktop /usr/share/applications/YaST2/SD_logprof.desktop /usr/share/applications/YaST2/system_settings.desktop
These are false-positives (do not necessarily need root privileges):
/usr/share/applications/YaST2/online_update_configuration.desktop /usr/share/applications/YaST2/release_notes.desktop /usr/share/applications/YaST2/suse_register.desktop
-- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=550073
http://bugzilla.novell.com/show_bug.cgi?id=550073#c10
Johannes Meixner
http://bugzilla.novell.com/show_bug.cgi?id=550073
http://bugzilla.novell.com/show_bug.cgi?id=550073#c11
--- Comment #11 from Johannes Meixner
http://bugzilla.novell.com/show_bug.cgi?id=550073
http://bugzilla.novell.com/show_bug.cgi?id=550073#c12
--- Comment #12 from Johannes Meixner
participants (1)
-
bugzilla_noreply@novell.com