Welcome to Our Community

While Linux.org has been around for a while, we recently changed management and had to purge most of the content (including users). If you signed up before April 23rd, 2017 please sign up again. Thanks!

  1. Note: we recently updated out site software, please report any unseen issues - we do this often to insure your information is secure.
    Dismiss Notice

[Gentoo] KDE Plasma/DeviceNotifier - udisk2 permissions solution

Discussion in 'Desktop / X' started by Juan Garcia, Sep 5, 2017.

  1. Juan Garcia

    Juan Garcia New Member

    Joined:
    Sep 5, 2017
    Messages:
    1
    Likes Received:
    0
    First, edit your "make.conf" and add next USE entries
    Code:
    USE="policykit udisks udev"

    Second, update with the new USE changes!
    Code:
    emerge --ask --update --newuse --deep @world

    And finally, edit "/etc/polkit-1/rules.d/##-polkit-pkla-compat.rules", change ## with exist correct file suffix and add next code:
    Code:
    polkit.addRule(function(action, subject) {
      if (action.id == "org.freedesktop.udisks2.filesystem-mount" && subject.user == "your_username") {
        return "yes";
      }
    });
    



     

Share This Page