** Description changed:

  [Impact]
  xdiagnose requires root permission to run, otherwise it crashes when it tries 
to update the grub configuration.
  
  This is showing up in the automatically collected errors:
  
https://errors.ubuntu.com/bucket/?id=%2Fusr%2Fbin%2Fxdiagnose%3AIOError%3Amove%3Ahandle_enable_apport%3Amove%3Acopy2%3Acopyfile
+ 
+ This shows the issue affects precise, quantal, and raring users, with
+ quantal being the most heavily affected.
  
  [Fix]
  A partial fix was added to the .desktop file, which made xdiagnose use 
gksu/pkexec to request root permissions when run from the menus.  However, 
xdiagnose can also be run directly from X terminals.  To address this case it 
needs to check if it's run as root at startup, and if not print an error so the 
user knows to run it with sudo or similar.
  
  [Regression Risk]
  The patch is very trivial and non-invasive so not likely to cause 
regressions.  Also, the application is for diagnostic purposes so the impact of 
a regression in this tool is pretty minor.
  
  [Original Report]
  Hello
  Launching the xdiagnose gui from the icon, it start, accept the checkboxes 
variation but when i click apply it don't require me the password to read the 
grub file.
  Launching it from terminal it return the permission denied error.
  Thanks
  Fabio

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/769419

Title:
  xdiagnose needs root privilege to create /etc/default/grub.bak

To manage notifications about this bug go to:
https://bugs.launchpad.net/xdiagnose/+bug/769419/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to