On Tuesday 03 February 2004 02:04, Greg KH wrote: > On Thu, Jan 22, 2004 at 06:44:53PM +0100, Svetoslav Slavtchev wrote: > But the "owner" is the "system", right? They are really the same > person. I think it looks like a neat hack to be able to add symlinks, > but I can't see a real use for it in the world. Maybe user actions should be limited to ~/Devices, or something similar... > Take a look at /etc/fstab, or any of the other system wide config files > in /etc. They don't provide a place that a user can add more items in > another file, do they? All that is needed is to modify the original > file to add your new items. But this is not a virtue of the actual way-of-doing-things!!! This is one of the most unfriendly issues that you have to face when running a Linux distro or a Unix system. These global files are never updated enought to support the "latest cheap camera" I bougth. So I need to add items to these files... but how? 1) su -c "vim /etc/somefile" -- you need to know root password 2) sudo vim /etc/somefile -- This opens security holes like shell excaping 3) vim ~/.my_devices -- Just parse it in a safe way and use a dir under $HOME, no security probs at all And solutions 1 and 2 permits to a simple user to screw up the whole system in a second :( At my uni labs we run only linux boxes but we are not allowed to attach usb-keys, card-readers and other peripherals for this very problem (try to update 100+ boxes with different a configuration for every student...). It would be nice to be able to do so in the future. -- Gioele Barabucci ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net Linux-hotplug-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel