Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Can't mount USB drives (SOLVED)
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
Featherfoot
Veteran
Veteran


Joined: 28 Dec 2002
Posts: 1108
Location: Stuart, Florida

PostPosted: Wed Aug 24, 2016 4:07 am    Post subject: Can't mount USB drives (SOLVED) Reply with quote

All of a sudden when I try to mount a USB disk drive to back up my system, I get a message "Failed to mount "portable". Not authorized to perform operation.

There might have been a time when I knew how to make this work, but I don't remember it now, and am puzzled why somebody would change the rules.

Please help.


Last edited by Featherfoot on Thu Aug 25, 2016 2:44 am; edited 1 time in total
Back to top
View user's profile Send private message
cameta
Veteran
Veteran


Joined: 04 Aug 2004
Posts: 1320

PostPosted: Thu Aug 25, 2016 12:58 am    Post subject: Reply with quote

https://forums.gentoo.org/viewtopic-t-1038986-highlight-authorized+device.html

Create the file /etc/polkit-1/localauthority/50-local.d/55-storage.pkla (the directory tree should already exist), and put this into it:


Code:
[Storage Permissions]
Identity=unix-group:plugdev
Action=org.freedesktop.udisks2.filesystem-mount
ResultAny=yes
ResultActive=yes
ResultInactive=no   


Same results if you make this file instead:

Code:
# /etc/polkit-1/rules.d/10-udisks.rules

polkit.addRule(function(action, subject) {
    if (action.id == "org.freedesktop.udisks2.filesystem-mount" && subject.isInGroup("plugdev")) {
        return "yes";
    }
});

_________________
Si algo falla LEE el jodido manual, Si sigue fallando LEE BIEN el jodido manual.
Back to top
View user's profile Send private message
Featherfoot
Veteran
Veteran


Joined: 28 Dec 2002
Posts: 1108
Location: Stuart, Florida

PostPosted: Thu Aug 25, 2016 2:44 am    Post subject: Reply with quote

I tried both and neither worked.

But, I read the link you posted very carefully and it discussed that you can't just click on the device icon, you must click on the check block.

Stupid error!

Thanks for your help.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum