I get the idea from this file /usr/share/polkit-1/actions/org.freedesktop.udisks2.policy
Code:
<action id="org.freedesktop.udisks2.filesystem-mount">
...
<allow_any>auth_admin</allow_any>
<allow_inactive>auth_admin</allow_inactive>
<allow_active>yes</allow_active>
...
Not sure why they are different, i will try to test it tonight or tomorrow.
Added
-----
After testing with clean -current, and trying to downgrade two packages that was changed between 14.1 and current that i think may be related to it:
udisks2-2.1.0-x86_64-1.txz -> udisks2-2.1.5-x86_64-1.txz
polkit-gnome-0.102-x86_64-1.txz -> polkit-gnome-0.102-x86_64-2.txz
There was no change in behavior, every user was able to mount internal partition that was commented in fstab.
Then i start looking into this policy file /usr/share/polkit-1/actions/org.freedesktop.udisks2.policy and /etc/polkit-1/localauthority/50-local.d/20-plugdev-group-mount-override.pkla
Second file is included in package from line 109 of polkit.SlackBuild
From my point of view this file should be removed, because it gives every user in group plugdev to much permission. Is it required for some reason ?
After removing it, users in plugdev can mount usb drives, cd and etc. but if they try to mount internal partition, root password is required.
And one more test that i made before removing 20-plugdev-group-mount-override.pkla file :
From console issuing this command from regular user:
Quote:
udisksctl mount -b /dev/sdX
|
/dev/sdX gets mounted. No password asked.
*udisksctl is from udisks2 package.
Password is requested before mounting partition.
*udisks is from udisks package.
After removing pkla file, both commands require root password.