From owner-freebsd-scsi Sun Mar 21 14:50:24 1999 Delivered-To: freebsd-scsi@freebsd.org Received: from pluto.plutotech.com (mail.plutotech.com [206.168.67.137]) by hub.freebsd.org (Postfix) with ESMTP id 512E214EF7 for ; Sun, 21 Mar 1999 14:50:22 -0800 (PST) (envelope-from gibbs@plutotech.com) Received: from narnia.plutotech.com (narnia.plutotech.com [206.168.67.130]) by pluto.plutotech.com (8.9.2/8.9.1) with ESMTP id PAA93193; Sun, 21 Mar 1999 15:50:02 -0700 (MST) (envelope-from gibbs@plutotech.com) Message-Id: <199903212250.PAA93193@pluto.plutotech.com> X-Mailer: exmh version 2.0.2 2/24/98 To: Dave Marquardt Cc: scsi@FreeBSD.org, ken@plutotech.com Subject: Re: kern/10663: hpscan doesn't like 3.1's pt device In-reply-to: Your message of "21 Mar 1999 13:31:43 CST." <85yakqskps.fsf@localhost.zilker.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sun, 21 Mar 1999 15:41:01 -0700 From: "Justin T. Gibbs" Sender: owner-freebsd-scsi@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Andrew Cagney writes: >> Workaround: >> >> Switch to the ``sane'' scanner but then find that that has >> other problems (do I really need ``chmod a+rw /dev/xpt0''? ;-). > >No, just create a `scanner' group, put yourself in it, then > > chgrp scanner /dev/xpt0 > chmod 660 /dev/xpt0 We can probably make some of the ioctls provided by the xpt device accessable to users who only have read permissions on the device. SANE likely uses the device matching and listing functions which can't be used to compromise the system. Of course, some may feel that being able to list the types of SCSI devices in the system is a security hole, so we'd probably continue to ship the XPT device as r/w only by root. -- Justin To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message