Skip to content

Commit

Permalink
allow all users to mount a system disk
Browse files Browse the repository at this point in the history
  • Loading branch information
noahdotpy authored Jan 8, 2024
1 parent 0ad3973 commit 6b21ae5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion config/files/usr/etc/polkit-1/rules.d/miscellaneous.rules
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
*/
polkit.addRule(function(action, subject) {
if (
action.id == "org.freedesktop.accounts.change-own-password"
action.id == "org.freedesktop.accounts.change-own-password" ||
action.id == "org.freedesktop.udisks2.filesystem-mount-system"
)
{
return polkit.Result.YES;
Expand Down

0 comments on commit 6b21ae5

Please sign in to comment.