From owner-freebsd-current@FreeBSD.ORG Fri Oct 15 11:56:07 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3266A16A4CE for ; Fri, 15 Oct 2004 11:56:07 +0000 (GMT) Received: from mail.gmx.net (pop.gmx.de [213.165.64.20]) by mx1.FreeBSD.org (Postfix) with SMTP id 0C35C43D2D for ; Fri, 15 Oct 2004 11:56:06 +0000 (GMT) (envelope-from michaelnottebrock@gmx.net) Received: (qmail 2429 invoked by uid 65534); 15 Oct 2004 11:56:04 -0000 Received: from p5087DE36.dip.t-dialin.net (EHLO lofi.dyndns.org) (80.135.222.54) by mail.gmx.net (mp024) with SMTP; 15 Oct 2004 13:56:04 +0200 X-Authenticated: #443188 Received: from kiste.my.domain (lofi@kiste.my.domain [192.168.8.4]) (authenticated bits=0) by lofi.dyndns.org (8.12.10/8.12.10) with ESMTP id i9FBuRDb008708 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NO); Fri, 15 Oct 2004 13:56:28 +0200 (CEST) (envelope-from michaelnottebrock@gmx.net) From: Michael Nottebrock To: freebsd-current@freebsd.org Date: Fri, 15 Oct 2004 13:55:49 +0200 User-Agent: KMail/1.7 References: <20041013205141.GA874@galgenberg.net> <416EE19D.50400@mac.com> <20041015100633.GA45863@cirb503493.alcatel.com.au> In-Reply-To: <20041015100633.GA45863@cirb503493.alcatel.com.au> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart1654771.mAjMk2iduU"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200410151355.53534.michaelnottebrock@gmx.net> X-Virus-Scanned: by amavisd-new cc: Peter Jeremy cc: Chuck Swiger Subject: Re: atapicam(4) as KLD? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Oct 2004 11:56:07 -0000 --nextPart1654771.mAjMk2iduU Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Friday 15 October 2004 12:06, Peter Jeremy wrote: > Whilst we're discussing ATAPICAM, even after I make /dev/cd0[ac] mode > 666, I can't write to it as a non-root user. Does anyone know the > rationale for this and which particular EPERM is the culprit?=20 Stuff goes through the whole cam device chain if you're using the cd* devic= es,=20 so you'll have to adjust permissions for the corresponding xpt* and pass*=20 devices just like you would with scsi drives. Example devfs.conf snippet (this is suitable for members of group operator): # Allow cdrom user access perm cd0 0660 perm cd1 0660 perm cd2 0660 # Allow SCSI passthrough/transport user access perm xpt0 0660 perm xpt1 0660 perm xpt2 0660 perm pass0 0660 perm pass1 0660 perm pass2 0660 =2D-=20 ,_, | Michael Nottebrock | lofi@freebsd.org (/^ ^\) | FreeBSD - The Power to Serve | http://www.freebsd.org \u/ | K Desktop Environment on FreeBSD | http://freebsd.kde.org --nextPart1654771.mAjMk2iduU Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.9.10 (FreeBSD) iD8DBQBBb7rJXhc68WspdLARAkX2AKCpVjivug6G907PZy7BNkHIOgwLOwCdE+B8 DaoCbEJ5NmsXgWp5phGMNR8= =Gh6v -----END PGP SIGNATURE----- --nextPart1654771.mAjMk2iduU--