ACLs in udev-add.c?
I'm curious about what sort of work might be required to change udev-add.c to support filesystem ACLs.
I'd like to have each of my console-type devices have an ACL list sync'd with the currently logged-in users. I run X on two consoles with two different users and the permissions are currently a pain to maintain.
I don't mind getting my hands dirty in udev, but it looks like the udevice structure would need to be extended to support multiple owners (but only on udev storage that supports it).
Is this a reasonable thing to have in udev, or should it be part of the hotplug scripts?
Signature · 13 lines
Matthew Mastracci <[email protected]> ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id70&alloc_id638&op=click _______________________________________________ Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net [email protected] https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
Quoted 7 lines · Matthew Mastracci
I'm curious about what sort of work might be required to change
udev-add.cto support filesystem ACLs.I'd like to have each of my console-type devices have an ACL list sync'd with the currently logged-in users. I run X on two consoles with two different users and the permissions are currently a pain to maintain.
Quoted 6 lines
I don't mind getting my hands dirty in udev, but it looks like the udevice structure would need to be extended to support multiple owners (but only on udev storage that supports it).
Is this a reasonable thing to have in udev, or should it be part of the hotplug scripts?
It could go in udev, or as a script/program that udev calls after it runs. See the /etc/dev.d framework for more info on this. Just plop a program down in /etc/dev.d/default/ with the extension .dev and it will always be called. See my previous announcements for full details.
Hope this helps,
greg k-h
-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id70&alloc_id638&op=click
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel