I've just installed Debian Sid on my computer but I cannot mount external USB drives as you can see in the image.

enter image description here

Mounting failed
Cannot mount "SENZATITOLO"
Not authorized

What should I do?

  • an usb memory, but also with SD – Mitro Mar 2 '13 at 15:36
  • Either use sudo or set the users option for that device in /etc/fstab, so you can mount it as ordinary user. – ott-- Mar 2 '13 at 18:17
  • 2
    @ott-- Probably not, I suspect OP is trying to use udisks to mount under /media. That should work... – derobert Mar 2 '13 at 18:50
  • 1
    What did you do to try mounting? Do you log in by typing your password in text mode or in graphics mode? – Gilles 'SO- stop being evil' Mar 3 '13 at 23:18

You are using a lightweight window manager. I've had this problem before in another such window manager. So it sounds like a problem with polkit to me. Does your system have a directory called /etc/polkit-1/localauthority/? If so, create a file (as root)... I use the nano text editor here. Paste into the terminal with CTRL + SHIFT + V.

su root
nano /etc/polkit-1/localauthority/50-local.d/55-storage.pkla

add the following lines:

[Storage Permissions]

now add yourself to the plugdev group:

usermod -a -G plugdev <your username>

logout and log back in. If it is polkit, you should be able to mount media now.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.