USB mounting and polkit

From Applied Optics Wiki
Revision as of 15:37, 31 May 2018 by Rikesh Patel (talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Issues may occur where you may not be able to mount USB drives (or other drives) outside of root. Using root is not a real option as you'd need to be able to copy/paste conveniently. The issue may be polkit related - a piece of software that is used to authorise users to do things. Create and add this to /etc/polkit-1/localauthority/50-local.d/10-consolekit.pkla (under root);

[udisks]
Identity=unix-group:scan
Action=org.freedesktop.udisks.*
ResultAny=yes
[udisks2]
Identity=unix-group:scan
Action=org.freedesktop.udisks2.*
ResultAny=yes