Re: How to Run Parallel Port Scanner as Non-Root????

From: Karl Heinz Kremer (khk@khk.net)
Date: Thu Jan 18 2001 - 15:33:42 PST

  • Next message: dave-mlist@bfnet.com: "Failed to open device `coolscan:/dev/scanner': Device busy."

    Jochen,

    the only way you can get it to work is by making the programs that
    access the pio device (the frontends) SUID root:

    chown root xscanimage xsane scanimage
    chmod 4755 xscanimage xsane scanimage

    ... of course you have to provide the correct paths for the
    three programs.

    Karl Heinz

    On Thu, Jan 18, 2001 at 06:22:59PM -0500, Jochen Weiss wrote:
    > I got an old Epson ES300C parallel port scanner from a friend of mine and I
    > got
    > it to run under Mandrake 7.2 as root (which is not recommended and did
    > indeed do
    > same bad things to the program while running). So my question is:
    > How can i change the permissions on the pio 0x378 so that I can run it as
    > regular
    > user. This is easy to solve for a SCSI port since its a device, but the pio
    > doesn't use a device...
    > Any help would be greatly appreciated....
    >
    > Jochen Weiss
    >
    > --
    > ----------------------------------------
    > Jochen Weiss
    > Dept. of Food Science and Tech., UT
    > 2605 River Road, Knoxville, TN 37901-1071
    >
    >
    > --
    > Source code, list archive, and docs: http://www.mostang.com/sane/
    > To unsubscribe: echo unsubscribe sane-devel | mail majordomo@mostang.com

    -- 
    


    --
    Source code, list archive, and docs: http://www.mostang.com/sane/
    To unsubscribe: echo unsubscribe sane-devel | mail majordomo@mostang.com
    



    This archive was generated by hypermail 2b29 : Thu Jan 18 2001 - 15:39:40 PST