Bug 672072

Summary: unetbootin should directly require root permissions when running
Product: [Fedora] Fedora Reporter: Sven Herzberg <herzi>
Component: unetbootinAssignee: Susi Lehtola <susi.lehtola>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 14CC: susi.lehtola
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-01-23 19:08:28 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Sven Herzberg 2011-01-23 18:15:45 UTC
Description of problem:
Unetbootin requires super user permissions but the package doesn't make sure unetbootin has these.

Version-Release number of selected component (if applicable):
# $ rpm -q unetbootin
unetbootin-0-8.494bzr.fc14.i686

How reproducible:
always

Steps to Reproduce:
1. Install Fedora 14
2. Install unetbootin (su -c "yum install unetbootin")
3. Start unetbootin (Applications => System => Unetbootin)
  
Actual results:
4. A dialog pops up, telling me it has to be run as root.
"Unetbootin must be run as root. Close it, and re-run using
either:
sudo /usr/bin/unetbootin
or:
su -c '/usr/bin/unetbootin"

Expected results:
4. A dialog pops up, asking for root permissions and after getting those, unetbootin just works.

Additional info:
Beesu can be used to achieve this pretty easily. I propose to add a package dependency on "beesu" and to change the command of unetbootin's .desktop file to prepend "beesu" to automatically ask for permissions.

Comment 1 Susi Lehtola 2011-01-23 19:08:28 UTC
I'm not going to add more dependencies. The dialog is enough, although the su command in the prompt is invalid (see bug #658747 and bug #671044).

If you have kdebase-runtime installed, unetbootin will automatically run kdesu.