Ubuntu – Does usb-creator-gtk require root access


When you want to create a bootable usb memory stick, then you must identify as a sudoer. Why is that? I have no difficulty understanding why unprivileged users shouldn't be allowed to fiddle with the installed system, but why shouldn't you be allowed to copy grub onto the memory stick if you have write access to it?

Best Answer

Policy Kit foresees the following actions related to Usb Creator

$ pkaction --verbose | grep -A1 '\.usb' | less
  description:       Install the bootloader
  description:       Format the device
  description:       Image the device
  description:       Mount a device

These are actions that only root can execute, given that block devices are owned by root.

Related Question