use of ioperm in sane

From: stef (stef-listes@wanadoo.fr)
Date: Mon Feb 12 2001 - 07:06:51 PST

  • Next message: Tim Waugh: "Re: use of ioperm in sane"

            Hello,

            in umax 1220p backend, I'm using ioperm to allow direct i/o to parallel port.
    So xsane, scanimage and xscanimage have to be ran has root, or to have sticky bit
    set. That worries me, since this allow any user to mistakenly orverwrite any files.

            I looked into ppdev, which could be used, but it lacks 32 bits EPP
    i/o support.

            Changing access mode on /dev/port seems pretty dangerous.

            So, is there any way to avoid this?

    Stef

    --
    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 : Mon Feb 12 2001 - 07:05:14 PST