Date: 26 Jul 1998 20:38:56 -0400 From: Cory Kempf <ckempf@enigami.com> To: freebsd-scsi@FreeBSD.ORG Subject: non-root pass, symlinks to pass fail Message-ID: <x7sojo6sbj.fsf@singularity.enigami.com>
next in thread | raw e-mail | index | archive | help
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). Interestingly enough, though, ls -l /dev/pass* produces: 0 brw-rw-rw- 1 root operator 200, 0 Jul 14 16:50 /dev/pass0 0 brw-rw-rw- 1 root operator 200, 1 Jul 14 16:50 /dev/pass1 0 brw-rw-rw- 1 root operator 200, 2 Jul 14 16:50 /dev/pass2 0 brw-rw-rw- 1 root operator 200, 3 Jul 14 16:50 /dev/pass3 0 brw-rw-rw- 1 root operator 200, 4 Jul 14 16:50 /dev/pass4 As I chmod'd things to 666 when I first got the error. Why can't I open a pass device as a non-root user? On what might be a related note, I created a symlink (i.e. ln -s) to a pass device. cam_scsi_open() refuses to open that either. Why? And, in both cases, how do I fix? Thanks, +C -- Thinking of purchasing RAM from the Chip Merchant? Please read this first: <http://www.enigami.com/~ckempf/chipmerchant.html> Cory Kempf Macintosh / Unix Consulting & Software Development ckempf@enigami.com <http://www.enigami.com/~ckempf/> To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?x7sojo6sbj.fsf>