From: Marcus M. <ma...@je...> - 2007-08-30 06:20:34
|
On Thu, Aug 30, 2007 at 11:28:41AM +0530, Soumen Mondal wrote: > I agree this is not the good way to change permissions besides it has a > limitation of not allowing per-device permissions. However, it might > serve as a workaround, if feasible, when there are other critical issues > to be addressed first. This works fine with CentOS 4.5 . Havn't tried > with FC6/FC7/CentOS5 SUSE hands out ACLs to the USB device nodes, based on the desktop session (so a desktop user gets added to the ACL list of the device on login and removed if he logs out), using a HAL hook script (hal-resmgr). Fedora up to now chowns the device node in a HAL hook (look for set-procperm or so). I think this using ACLs is also the plan when using the new ConsoleKit and its related hook up scripts in the hal/PolicyKit/ConsoleKit framework. udev scripts that include ownership/mode should be phased out hopefully, mostly because udev is too much of a moving target and also too lowlevel for this. Ciao, Marcus |