Christopher wrote:
Hello...

While updating several servers from RHEL 5.3 to 5.4 I ran across a
buglet.  On 5.3 lvm devices in /dev/mapper/ have owner root:disk and
perms 0660.  On 5.4 the owner is root:root and perms 0600.  This breaks
amanda using dump tape backups.

After googling udev, lvm, device-mapper, etc.  there appears to be much
debate over ownership and permision bits on disk devices.  Without
debating what is "correct", can someone show me a generic udev rule to
make lvm devices (/dev/mapper/...) root:disk and 0640?  Bonus points
for /dev/root (*) too.



(*) https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=215333





This is SL/CentOS 5.3. I guess that this file has changed, maybe your problem is just the first line?

[r...@bobtail ~]# find /etc/udev/ -type f -exec grep -Hiw disk {} \;
/etc/udev/rules.d/50-udev.rules:SUBSYSTEM=="block", GROUP="disk", MODE="0640" /etc/udev/rules.d/50-udev.rules:KERNEL=="root", GROUP="disk", MODE="0640" /etc/udev/rules.d/50-udev.rules:KERNEL=="ht*", GROUP="disk", MODE="0660"

--

Cheers
John

-- spambait
[email protected]  [email protected]
-- Advice
http://webfoot.com/advice/email.top.php
http://www.catb.org/~esr/faqs/smart-questions.html
http://support.microsoft.com/kb/555375

You cannot reply off-list:-)

_______________________________________________
rhelv5-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/rhelv5-list

Reply via email to