Tuesday, February 24, 2015

Void and voidbang if you have mount problems using udevil

Be sure to have yourself added to the storage group:

# usermod -aG storage paul

Reboot or relogin for reloading group settings.

You also may have to add a polkit rule in

with this content:
 polkit.addRule(function(action, subject) {
     var YES = polkit.Result.YES;
     var permission = {
     // only required for udisks1:
     "org.freedesktop.udisks.filesystem-mount": YES,
     "org.freedesktop.udisks.filesystem-mount-system-internal": YES,
     "org.freedesktop.udisks.luks-unlock": YES,
     "org.freedesktop.udisks.drive-eject": YES,
     "org.freedesktop.udisks.drive-detach": YES,
     // only required for udisks2:
     "org.freedesktop.udisks2.filesystem-mount": YES,
     "org.freedesktop.udisks2.filesystem-mount-system": YES,
     "org.freedesktop.udisks2.encrypted-unlock": YES,
     "org.freedesktop.udisks2.eject-media": YES,
     "org.freedesktop.udisks2.power-off-drive": YES
     if (subject.isInGroup("storage")) {
         return permission[action.id];

source:  https://github.com/voidlinux/documentation/wiki/Mounting-filesystem-as-a-user

No comments:

Blog Archive

About Me

Exclusion of liability Regarding StillStupid: The use you make of the guides, tips and downloads that you listed on this web site or on another website to which I refer is entirely at your own risk. In no way can I be held liable for damage or consequential damages of any kind, which occurs as a result of that use.