[SWLUG] Re: Discuss digest, Vol 1 #503 - 1 msg

Thomas Adam thomas_adam at bonbon.net
Sun Jul 25 13:27:40 UTC 2004


On Sun, 25 Jul 2004 14:23:29 +0000
Marc Pritchard <nexus005 at yahoo.co.uk> wrote:

> What if you did
> chmod 666 /dev/lp0

Bad idea. 660, at most and ensure that the said user a member of the
"lp" group to which the device belongs.


> >ls > /dev/lp0
> >
> >brings back
> >
> >/dev/lp0: No such devicel
> >
> >but=20
> >
> >ls -l /dev/lp0
> >
> >gives
> >
> >crw-rw----    1 root     lp         6,   0 Mar 14  2002 /dev/lp0
> >
> >which seems OK.  Any ideas, anyone?

Of course. There is no correlation between seeing the device on "ls" and
trying to print to it. The device will _always_ be there on an ls
output. I suspect what you haven't done is to:

modprobe lp
modprobe partport_pc

-- Thomas Adam

--
"Thomas is the kinda guy who'd happily write his own OS if it came to
it." -- Richard Gellman, via IRC.





More information about the Swlug mailing list