Bug 672072 - unetbootin should directly require root permissions when running
Summary: unetbootin should directly require root permissions when running
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: unetbootin
Version: 14
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Susi Lehtola
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-01-23 18:15 UTC by Sven Herzberg
Modified: 2011-01-23 19:08 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-01-23 19:08:28 UTC
Type: ---


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.