Tuesday, November 8, 2011

Mount internal drives as a normal user

What I noticed is that devmon isn't able anymore to automount a partition with the

autostart.sh line: (sleep 15 && devmon --mount /dev/sda16) &

Maybe this is a solution?

If you want to mount an internal drive in KDE or Gnome (maybe on other Desktop Environments too) as a normal user (without the need to type your superuser password), you just have to create the following file in PolicyKit Local Authority:

/etc/polkit-1/localauthority/50-local.d/50-filesystem-mount-system-internal.pkla
[Mount a system-internal device] Identity=* Action=org.freedesktop.udisks.filesystem-mount-system-internal ResultActive=yes 

No comments:

Blog Archive