Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Jul 1998 09:08:02 -0600 (MDT)
From:      "Kenneth D. Merry" <ken@plutotech.com>
To:        ckempf@enigami.com (Cory Kempf)
Cc:        freebsd-scsi@FreeBSD.ORG
Subject:   Re: non-root pass, symlinks to pass fail
Message-ID:  <199807271508.JAA24759@panzer.plutotech.com>
In-Reply-To: <x7k94z7tz5.fsf@singularity.enigami.com> from Cory Kempf at "Jul 27, 98 01:17:50 am"

index | next in thread | previous in thread | raw e-mail

Cory Kempf wrote...
> "Kenneth" == Kenneth D Merry <ken@plutotech.com> writes:
> > Cory Kempf wrote...
> >> If I attempt to use cam_scsi_open() on one of the /dev/pass devices
> >> as a non-root user, it failes with errno 13 (access).
> >> Why can't I open a pass device as a non-root user?
> 
> > 	Probably because you're chmoding the wrong devices.  First
> > off, there is no "cam_scsi_open()" function.  My guess is that
> > you're using cam_open_device(). 
> 
> Yup.  The sane stuff is sanei_scsi_open().  Sigh.  In any case, I
> didn't even think of looking for rpass devices.  In hindsight, I
> should have thought of it.  After all, there are rdsk devices on most
> systems. 
> 
> Unfortunately, it didn't help: I chmod'd /dev/*pass* to 666, but
> cam_scsi_open() still fails with errno 13.
> 
> FWIW, cdrecord -scanbus likewise fails, unless I am root.

	What are the permissions on the transport layer devices?  The one
used is /dev/rxpt0.  If the CAM library can't open the transport layer
device, it can't figure out which passthrough device to open.

Ken
-- 
Kenneth Merry
ken@plutotech.com

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-scsi" in the body of the message


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199807271508.JAA24759>