Article 59RC1 UDEV rule for rtc: what am I doing wrong?

UDEV rule for rtc: what am I doing wrong?

by
mstrimel
from LinuxQuestions.org on (#59RC1)
hi,
I need to durably change the permissions on /dev/rtc0 so that another user can write to it. Thus, I wrote a udev rule, ran "udevadm trigger" and rebooted. It did not work.
my custom udev file has one line, as follows:
Code:ACTION=="ADD", ATTR{DEVNAME}=="/dev/rtc0", GROUP="mythtv", MODE="0666"I saved it as /etc/udev/rules.d/40-rtc-permissions.rules

udevadm info returned the following name for my device:
Code:/devices/pnp0/00:02/rtc/rtcWhen I run Code:udevadm test /devices/pnp0/00:02/rtc/rtc, I get a list of the rules being read, with my rule second on the list (that's good, right?), but then this:
Quote:
Invalid inotify descriptor.
DEVPATH=/devices/pnp0/00:02/rtc/rtc0
DEVNAME=/dev/rtc0
MAJOR=249
MINOR=0
ACTION=add
SUBSYSTEM=rtc
DEVLINKS=/dev/rtc
USEC_INITIALIZED=1681953
Unload module index
Unloaded link configuration context.
and the permissions still are incorrect. What am I doing wrong?latest?d=yIl2AUoC8zA latest?i=otnZ3lO1z8Y:5mlJxe90Wjc:F7zBnMy latest?i=otnZ3lO1z8Y:5mlJxe90Wjc:V_sGLiP latest?d=qj6IDK7rITs latest?i=otnZ3lO1z8Y:5mlJxe90Wjc:gIN9vFwotnZ3lO1z8Y
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments