On Thu, Jul 14, 2011 at 10:21:49AM -0400, Jack Allen wrote: > I have an application that needs to be able to read and write a > Logical Volume directly and it does not run as root. > On RHEL 5.X I could ... > On RHEL 6.X if I do ...
We face the same problem for non-root access to RS232 serial ports and funny USB devices - permissions need to be "chmod a+wr". In the very old days, one put this into /etc/rc.local and it worked. Then came "hotplug" scripts, and it was hard to figure them out, then "hotplug" was replaced by "udev" and it is even harder to figure out and make it work. "udev" scripts that worked in SL5 quit in SL6, etc. You can find my udev scripts for USB here, good luck adapting them to LVM permission: http://www.triumf.info/wiki/DAQwiki/index.php/SL5install#Configure_USB_device_permissions -- Konstantin Olchanski Data Acquisition Systems: The Bytes Must Flow! Email: olchansk-at-triumf-dot-ca Snail mail: 4004 Wesbrook Mall, TRIUMF, Vancouver, B.C., V6T 2A3, Canada