user rights for /dev/´s
Can anyone help me with this?
I´ve set my user-rights on /dev/parport0, then I do a reboot and they´re gone again. Can anyone tell me how to make them last?
I think they´re re-generated on each boot, but is it possible to tell Linux to generate them with the right permissions?
you have to edit the initscripts to change device permissions permanently.
exactly where they are is distro specific, but most comonly in etc/initrd
it's the parport kernel module, so it's through the insmod section of the scripts.
Nothing about parport in the init scripts, but i found some stuff in /etc/modprobe.conf
Do you think I can change anything here? Or should I just add a chmod in the next line?
# Load lp after parport
install parport /sbin/modprobe -i parport && /sbin/modprobe lp
I think you should look at the devfsd / udev configuration, depending on which you use.
good, it works.
thanks for help!