Can't mount usb drives after suspend [SOLVED]
- Anmelden oder Registrieren um Kommentare zu schreiben
Hi every one,
I was having the following problem and I finally found how to solved it.
When ever I came out from suspend I was unable to mount usb drives or any any drives from nautilus. When ever I tried to mount them I got the following message:
unable to access [NAME OF DRIVE]
not authorized to perform operation
After that what I used to do was logout a login again, but of course I wasn't happy with that. So I look it up and I found that by creating a file in the following directory the problem was solved. The following was took from https://bugs.launchpad.net/ubuntu/+source/policykit-desktop-privileges/+bug/1240336
Run:
gksudo /etc/polkit-1/localauthority/50-local.d/org.freedesktop.udisks2.filesystem-mount.pkla
Paste the following and save:
[Mounting, checking, etc. of internal drives]
Identity=unix-group:plugdev
Action=org.freedesktop.udisks2.filesystem-mount;org.freedesktop.udisks2.eject-media;org.freedesktop.udisks2.power-off-drive;org.freedesktop.udisks2.ata-check-power;org.freedesktop.udisks2.rescan:
ResultAny=yes
ResultInactive=yes
ResultActive=yes
And that's it.
The same used to happen when trying to use gnome-disks, but this also solved that.
Hope this helps some one out there. Thanks :)