USB Stick Format Authentication Error

Bug #1260295 reported by افشین
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Linux Mint
New
Undecided
Unassigned

Bug Description

Hello.
When I run USB Stick Formatter from GUI this error occoured:
"Authentication Error"

I run this program in terminal with this command:
mintstick -m format and in reslut It is waiting for me to enter the password! and when I enter sudo password works without any error!

Terminal result: ==== AUTHENTICATING FOR org.freedesktop.policykit.pkexec.run-im ===
This will destroy all data on the target device, are you sure you want to proceed?
Authenticating as: Afshin,,, (afshin)

It seems to require root privileges to run this program.

Revision history for this message
افشین (afshin-e) wrote :
description: updated
Revision history for this message
Benjamin Guy-Williams (ben2talk-gmail) wrote :

Similar issues here - Mate desktop

[~] sudo mintstick -m format
[sudo] password for ben:

** (mintstick.py:27691): WARNING **: Can't load fallback CSS resource: Failed to import: The resource at '/org/gnome/adwaita/gtk-fallback.css' does not exist

** (mintstick.py:27691): WARNING **: Can't load fallback CSS resource: Failed to import: The resource at '/org/gnome/adwaita/gtk-fallback.css' does not exist
The USB stick was formatted successfully.

But getting the execution button available (for writing iso too) is a little hit and miss - sometimes a little double clicking is required to get the 'write' button to show.

This worked perfectly well from the menu on a fresh install some weeks ago.

Revision history for this message
chemicalfan (mike-lumsden) wrote :

I'm a bit confused, what is the actual issue here? Also, what version of Mint are you running?

Revision history for this message
Chrykal (kaltaugh) wrote :

I think the problem here is that, although root privileges are required to use mintstick, the default launchers do not have sudo in the command, therefore failing with the authentication error reported here. Problem still exists in Mint 17.3.

Revision history for this message
James E. LaBarre (jamesl-bestweb) wrote :

Confirmed that as of Linux Mint 18.1 (Mintstick v1.3.1) this still fails. Mintstick (USB Image Writer) should be requesting root privileges, and is not doing so.

Interestingly, if I run mintstick from the command-line as "sudo mintstick -m iso ISO_NAME.iso /dev/sdX" it will bring up the GUI for the command, but will not fill in the values passed to it.

Revision history for this message
James E. LaBarre (jamesl-bestweb) wrote :

Still fails as of 2017-07-30, Linux Mint 18.2. If you run this from the menu (as a user with sudo privileges, but not from a command line) it will flash up some dialogue box for a fraction of a second (not enough to see *anything* in the dialogue), the box will wobble around a few times, then you'll get the "authentivation error". It's obvious the utility is *supposed* to be prompting for permissions/password, but is failing to do so.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.