udev hide partition in nautilus for specific user/group
- by user64780
I'm trying to hide a partition form a specific group of users in Ubuntu 12.04.
I have created a new rule in /etc/udev/rules.d/99-hide-disk.rules with
KERNEL="sda3",ENV{UDISKS_PRESENTATION_HIDE}="1"
And this works for all users.
I tried KERNEL="sda3",ENV{UDISKS_PRESENTATION_HIDE}="1",GROUP="adm",MODE:="0700 but the partition is still hidden. That changes the group and permissions on the device rather than the rule.
How do I make the rule only apply to a particular group of users?