I always thought unprivileged users couldn't format a USB drive, only
root user could, so I used to mess up with
After years or daily Linux usage I just discovered that
gnome-disk-utility allows a user to format a USB drive without admin privileges.
I guess the user needs to belong the same group that allows mounting/unmounting (
plugdev on Debian) and the permissions are managed the same way (you can't unmount or partition system partitions, for instance).
What is the recommended way to format a USB drive?
Almost every suggestion I find on the Internet involves
gparted, therefore being
root. But even if you can log as
root on your system, it is bad practice to be
root when not necessary.
From this perspective,
gnome-disk-utility comes as a blessing.
Is there a CLI equivalent to
gnome-disk-utility ? Not-gnome graphical equivalents?