SCIENTIFIC-LINUX-USERS Archives

July 2011

SCIENTIFIC-LINUX-USERS@LISTSERV.FNAL.GOV

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Konstantin Olchanski <[log in to unmask]>
Reply To:
Konstantin Olchanski <[log in to unmask]>
Date:
Thu, 14 Jul 2011 08:22:29 -0700
Content-Type:
text/plain
Parts/Attachments:
text/plain (26 lines)
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

ATOM RSS1 RSS2