public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] udev usb printer permissions
@ 2007-02-08 18:49 Alexander Puchmayr
  2007-02-09  5:01 ` Dale
  0 siblings, 1 reply; 2+ messages in thread
From: Alexander Puchmayr @ 2007-02-08 18:49 UTC (permalink / raw
  To: gentoo-user

Hi there!

Can anyone please tell me why /dev/usb/lp0 has the following onwer/group and 
permissions?

zeus ~ # ls -l /dev/usb/
total 0
crw-rw---- 1 root plugdev 180, 0 Feb  8  2007 lp0


/etc/udev/rules.d/50-udev.rules says:

[...]
# usb devices
KERNEL=="hiddev*",              NAME="usb/%k"
KERNEL=="auer*",                NAME="usb/%k"
KERNEL=="legousbtower*",        NAME="usb/%k", GROUP="usb"
KERNEL=="dabusb*",              NAME="usb/%k"
BUS=="usb", KERNEL=="lp[0-9]*", NAME="usb/%k", GROUP="lp"
[...]

I would expect /dev/usb/lp0 to belong to group "lp", so which other config 
file tells udev to put it under these onwer/group and permissions?

Thanks in advance

	Alex
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [gentoo-user] udev usb printer permissions
  2007-02-08 18:49 [gentoo-user] udev usb printer permissions Alexander Puchmayr
@ 2007-02-09  5:01 ` Dale
  0 siblings, 0 replies; 2+ messages in thread
From: Dale @ 2007-02-09  5:01 UTC (permalink / raw
  To: gentoo-user

Alexander Puchmayr wrote:
> Hi there!
>
> Can anyone please tell me why /dev/usb/lp0 has the following onwer/group and 
> permissions?
>
> zeus ~ # ls -l /dev/usb/
> total 0
> crw-rw---- 1 root plugdev 180, 0 Feb  8  2007 lp0
>
>
> /etc/udev/rules.d/50-udev.rules says:
>
> [...]
> # usb devices
> KERNEL=="hiddev*",              NAME="usb/%k"
> KERNEL=="auer*",                NAME="usb/%k"
> KERNEL=="legousbtower*",        NAME="usb/%k", GROUP="usb"
> KERNEL=="dabusb*",              NAME="usb/%k"
> BUS=="usb", KERNEL=="lp[0-9]*", NAME="usb/%k", GROUP="lp"
> [...]
>
> I would expect /dev/usb/lp0 to belong to group "lp", so which other config 
> file tells udev to put it under these onwer/group and permissions?
>
> Thanks in advance
>
> 	Alex
>   

Something fishy somewhere.  Here is mine:

> root@smoker / # ls -l /dev/usb/
> total 0
> crw-rw---- 1 root lp 180, 0 Jan  9 03:59 lp0
> root@smoker / #  

Not sure why but I don't think I have changed anything.  Maybe one of
your rules was changed or not updated somehow.

Dale

:-)  :-)  :-)


-- 
www.myspace.com/dalek1967

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-02-09  5:06 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-02-08 18:49 [gentoo-user] udev usb printer permissions Alexander Puchmayr
2007-02-09  5:01 ` Dale

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox