UDEV rules with GROUP setting do not change device's group in RHEL 6

Solution Unverified - Updated -

Issue

  • Example rule is as follows:
KERNEL=="dm-[0-9]*", PROGRAM="/sbin/dmsetup info -c --noheadings -o UUID -j %M -m %m", RESULT=="mpath-3600c0ff0001187d84ef7925401000000", NAME="oracle_data", OWNER="oracle", GROUP="oinstall", MODE="0660"
  • Notice the Group permission:
[root@localhost ~]# ls -l /dev/oracle_data
brw-rw---- 1 oracle disk 253, 11 Mar 27 13:14 /dev/oracle_data
  • Device is owned by user "oracle" as defined, but by group "disk" not "oinstall" as defined. This works in RHEL5, but seems to not work in RHEL6.

Environment

  • Red Hat Enterprise Linux(RHEL) 6.6

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content