Block device permissions

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi everyone,

the Red Hat support wasn't much help so far, but perhaps you can help me:

After updating a few RHEL machines from 5.3 to 5.4 only root can access the lvm devices under /dev/mapper:

RHEL5-4 ~ # ll /dev/mapper/
total 0
crw------- 1 root root  10, 62 Sep 29 15:18 control
brw------- 1 root root 253,  0 Sep 29 15:18 vg_root-lv_root
brw------- 1 root root 253,  1 Sep 29 15:18 vg_root-lv_var

Before the update the permissions for the device files were 660 and the group was "disk" (default RHEL behaviour - I never configured this explicitly). Can anybody give me a hint about how to enable this behaviour again. I thought it had something to do with some changed udev rules, but even under RHEL 5.3 "udevinfo -q all -n /dev/mapper/vg_root-lv_root" just gives me "no record for 'mapper/vg_root-lv_root' in database", so I think udev has nothing to do with it. I think the device-mapper should change these permissions, but I'm not sure about this...

Thanks in advance for any advice on this.

Best Regards,
René Schaffrath

PS: Yes I know, I could simply add 2 lines in /etc/rc.local or some other place, but this won't help me, if I ever activated / created a logical volume on a running system. For several reasons I definitely need the behaviour of pre 5.4 versions.



----------------------------------------------------------------
Mundipharma Vertriebsgesellschaft mbH & Co. KG
Mundipharma Straße 6
65549 Limburg (Lahn)
Tel: +49 (0)6431 701 0
Amtsgericht Limburg (Lahn) HRA 624

Persönlich haftende Gesellschafterin:
Mundipharma Verwaltungsgesellschaft mbH, Sitz in Limburg (Lahn),
Registergericht Limburg (Lahn) HRB 462
Geschäftsführer: 
Mortimer D. Sackler M.D., Raymond R. Sackler M.D.,
Richard S. Sackler M.D., Kathe A. Sackler M.D.,
Jonathan D. Sackler M.D., Mortimer David A. Sackler,
Samantha S. Sackler-Hunt, Peter Boer, Åke Wikström,
Gunther Niederheide, Jürgen Feld (stellvertretend),
Wolfgang Binz (stellvertretend)
----------------------------------------------------------------



-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux