[Ac] Prawa /dev/lp0
Tomasz Wittner
twittner w o2.pl
Sob, 28 Paź 2006, 12:47:49 CEST
On Sat 28. October 2006 12:19, Jakub Bogusz wrote:
> On Sat, Oct 28, 2006 at 12:09:17PM +0200, Tomasz Wittner wrote:
> > $ ls -l /dev/lp0 ; rpm -qf /dev/lp0
> > crw------- 1 root root 6, 0 2006-10-28 13:36 /dev/lp0
> > dev-2.9.0-25
> >
> > Nie powinno być `crw-rw---- 1 root lp' ? (tak ma Debian)
>
> W naszym dev też tak jest.
> Coś później musi psuć (udev?).
Pewnie tak (pisałem u restarcie). Dla porównania - grep na konfigach PLD i Debiana:
# grep -rn lp /etc/udev
/etc/udev/rules.d/50-udev-default.rules:219:SUBSYSTEM=="usb", KERNEL=="lp*", ACTION=="add", NAME="usb/%k", SYMLINK+="usb%k", GROUP="lp"
/etc/udev/rules.d/50-udev-default.rules:220:SUBSYSTEM=="printer", KERNEL=="lp*", ACTION=="add", NAME="%k", GROUP="lp"
/etc/udev/rules.d/50-udev-default.rules:221:KERNEL=="irlpt*", NAME="%k", GROUP="lp"
# grep -rn lp /mnt/hda8/etc/udev
/mnt/hda8/etc/udev/rules.d/020_permissions.rules:33:KERNEL=="lp[0-9]*", SUBSYSTEMS=="usb", GROUP="lp"
/mnt/hda8/etc/udev/rules.d/020_permissions.rules:90:SUBSYSTEM=="printer", GROUP="lp"
/mnt/hda8/etc/udev/rules.d/020_permissions.rules:91:SUBSYSTEM=="ppdev", GROUP="lp"
/mnt/hda8/etc/udev/rules.d/020_permissions.rules:92:KERNEL=="irlpt*", GROUP="lp"
/mnt/hda8/etc/udev/rules.d/udev.rules:30:SUBSYSTEMS=="usb", KERNEL=="lp[0-9]*", NAME="usb/%k"
/mnt/hda8/etc/udev/compat-full.rules:28:KERNEL=="lp[0-9]*", SYMLINK+="%k"
/mnt/hda8/etc/udev/compat.rules:28:#KERNEL=="lp[0-9]*", SYMLINK+="%k"
/mnt/hda8/etc/udev/permissions.rules:33:KERNEL=="lp[0-9]*", SUBSYSTEMS=="usb", GROUP="lp"
/mnt/hda8/etc/udev/permissions.rules:90:SUBSYSTEM=="printer", GROUP="lp"
/mnt/hda8/etc/udev/permissions.rules:91:SUBSYSTEM=="ppdev", GROUP="lp"
/mnt/hda8/etc/udev/permissions.rules:92:KERNEL=="irlpt*", GROUP="lp"
/mnt/hda8/etc/udev/udev.rules:30:SUBSYSTEMS=="usb", KERNEL=="lp[0-9]*", NAME="usb/%k"
/mnt/hda8/etc/udev/devfs.rules:44:SUBSYSTEMS=="usb", KERNEL=="lp[0-9]*", NAME="usb/%k"
/mnt/hda8/etc/udev/devfs.rules:88:KERNEL=="lp[0-9]*", NAME="printers/%n"
--
Tomasz Wittner
Więcej informacji o liście dyskusyjnej pld-devel-pl