atapicam(4) as KLD?
Michael Nottebrock
michaelnottebrock at gmx.net
Fri Oct 15 04:56:07 PDT 2004
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?
Stuff goes through the whole cam device chain if you're using the cd* devices,
so you'll have to adjust permissions for the corresponding xpt* and pass*
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
--
,_, | Michael Nottebrock | lofi at freebsd.org
(/^ ^\) | FreeBSD - The Power to Serve | http://www.freebsd.org
\u/ | K Desktop Environment on FreeBSD | http://freebsd.kde.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 188 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20041015/d00087e9/attachment.bin
More information about the freebsd-current
mailing list