[CentOS] Odd issue with custom udev rule at boot

Thu Jun 16 04:12:55 UTC 2011
James A. Peltier <jpeltier at sfu.ca>

----- Original Message -----
| James A. Peltier wrote:
| > Hi All,
| >
| > I've written a custom udev rule to change the permissions of
| > /dev/ttyS* but it doesn't seem to be working at boot up. If I run
| >
| >   /sbin/udevcontrol reload_rules; udevtrigger
| >
| > The rules are parsed, applied and the permissions are then correct
| > but why is it not doing so at boot? The file in questions I've
| > called /etc/udev/rules.d/49-udev-override.rules and it contains
| >
| > KERNEL=="tty[A-Z]*", NAME="%k", GROUP="rcl", MODE="0660",
| > OPTIONS="last_rule"
| >
| > the default 50-udev.rules file has been left untouched. SELinux is
| > in permissive mode and so I can't find a reason why it is happening.
| > Anyone have any ideas?
| >
| 
| The thread starting at:
| 
| <http://lists.centos.org/pipermail/centos/2009-July/079133.html>
| 
| may gives some clues
| 
| James Pearson

I have already done this and it still does not work.  The only option that does work is to set the mode to 0666 which is *not* what I want.  I want the group to change to rcl so that I can maintain 0660.  If I set the mode to 0666 the mode does change but the group does not.

-- 
James A. Peltier
IT Services - Research Computing Group
Simon Fraser University - Burnaby Campus
Phone   : 778-782-6573
Fax     : 778-782-3045
E-Mail  : jpeltier at sfu.ca
Website : http://www.sfu.ca/itservices
          http://blogs.sfu.ca/people/jpeltier