On Thursday 11 May 2006 12:56, you wrote:
> Mark Small <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> > As you can see, root happily opens /dev/port, but normal user doesn't.
> > Doh.
>
> And this is the intended behaviour. Only root can perform low-level I/O.
>
> Load the parport_pc module, create /dev/parport0 (though udev should
> do it for you) and try again, applying proper permissions on
> /dev/parport0.
>
> Above all, RESTORE THE PREVIOUS PERMISSIONS ON /DEV/PORT. You just
> opened a security hole.
>
> JB.


Ahhh, ooops.

Okay, permissions restored.  For some reason udev does NOT 
create /dev/parport0 on my machine.  

I tried two new ways to get it to work.

#1 modprobe ppdev

This creates /dev/parport0, but scanimage -L still can't find the scanner.  It 
also can no longer find the scanner when run as root!  I can hear the scanner 
buzz for a split second, but then I get the classic "No scanners were 
indentified" message.

#2 mknod /dev/parport0 c 99 0 -m 666 (just for testing)

Exactly the same results as above.  Neither root nor user can find the 
scanner.  Scanner does a quick buzz.

What do I do to get this to work as normal user?

Mark


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to