Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have no problem to mount the USB pendrive from file browsers (Nemo, Nautilus, Dolphin, etc). But I have a pendrive, which cannot be mounted from the file browser. The error message is:

Not authorized to perform operation

And I found that it has a harddisk icon instead of removable media icon.

I can mount the pendrive with the root user with "mount" command.

Is there anyway to fix this problem so that pendrive will be recognised as the USB removable media instead of the harddisk?

share|improve this question

This problem can have many different origins. The most likely one is that you have a problem with polkit. Do you have a directory called /etc/polkit-1/localauthority? If so, edit, as root, this file: /etc/polkit-1/localauthority/50-local.d/55-storage.pkla and add the following lines:

  [Storage Permissions]

You should also add yourself to the plugdev group,

 usermod -a -G plugdev <your username>

which is the correct command for Debian-family distros (Debian, Ubuntu, Mint,...), if you are not on one of those please adapt it to your distro.

If this does not apply, please report back.

share|improve this answer
up vote 0 down vote accepted

I think my pendrive was modified with Lexar BootIt, which flips the Removable Media Bit (RMB).

I am not sure which of the following steps recover the pendrive into the removable media instead of harddisk.

  1. I dd out the 512 bytes of another normal pendrive (not the partition, but the device, eg: /dev/sdc).
  2. Then I plug in the problem pendrive, and dd in the 512 bytes from step 1.
  3. Then use gparted to create the partition table and also the partition with the FAT32.
  4. Restart the computer.

Only after step 4, I found that my pendrive is detected as normal removable media.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .