-
-
Save leojava/6f8faea578372f76fc7d2106a9686e62 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # /etc/polkit-1/rules.d/allow-mount-system.rules | |
| polkit.addRule(function(action, subject) { | |
| if (action.id == "org.freedesktop.udisks2.filesystem-mount-system" && | |
| subject.local && subject.active && subject.isInGroup("users")) { | |
| return polkit.Result.YES; | |
| } | |
| }); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment