[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: CD Burner Permissions



Thus spake Michael Heldebrant:
> On Mon, 2001-09-24 at 20:35, Stephen Gran wrote:
> > Thus spake Nathan E Norman:
> > > On Mon, Sep 24, 2001 at 10:02:00AM -0600, Adam McDaniel wrote:
> > > > On Mon, Sep 24, 2001 at 09:28:57AM -0400, Stephen Gran wrote:
> > > > > From /etc/fstab:
> > > > > /dev/scd0 /cdr iso9660 ro,defaults,users,noauto 0 0
> > > > > 
> > > > > ls -l /dev/scd0
> > > > > brwxrwxrwx    1 root     cdrom     11,   0 Feb 11  2001 /dev/scd0
> > > > > 
> > > > > So - adduser jane cdrom
> > > > > 
> > > > > Completes normally, but still no permission to write to drive.  I seem
> > > > > to remember that there are different /dev/ entries, one for reading and
> > > 
> > > This question's been asked and answered several times in the last few
> > > weeks ... check the archives at lists.debian.org.  You need scsi
> > > generic support in your kernel to do cd writing.  Use the sg? devices
> > > to access the drive.  cdrecord -scanbus can help you figure out what's
> > > going on.
> > > 
> > > Your /dev/scd0 permissions are fubar ... should be 
> > > 
> > >   brw-rw----    1 root     cdrom     11,   0 Feb 11  2001 /dev/scd0
> > > 
> > > Allowing permissions to "all" makes the cdrom group superfluous.
> > Hello all,
> > OK - so far I've looked into some of the things people have mentioned,
> > which I'll try to detail in some coherent shape:
> > 
> > chmod the permissions on /dev/scd0 back to how they should have been (I
> > changed them that way to see if I was miising something with groups -
> > quite obviously, didn't work).  Thanks for pointing it out to me, as I
> > forgot to change them back.
> > 
> > ls -l /dev/sg0:
> > crw-rw----    1 root     cdrom     21,   0 Jan 29  2001 /dev/sg0
> > 
> > cdrecord -scanbus:
> > Cdrecord 1.9 (i686-pc-linux-gnu) Copyright (C) 1995-2000 Jörg Schilling
> > Linux sg driver version: 3.1.19
> > Using libscg version 'schily-0.1'
> > scsibus0:
> >          0,0,0     0) *
> > 	 0,1,0     1) *
> > 	 0,2,0     2) *
> > 	 0,3,0     3) 'YAMAHA  ' 'CRW8424S	 '1.0d' Removable CD-ROM
> > 	 0,4,0     4) *
> > 	 0,5,0     5) *
> > 	 0,6,0     6) *
> > 	 0,7,0	   7) *
> > 
> > Which is all as it should be, on the face of it.  The fact that the
> > burner is the only thing on the SCSI bus means that it should be
> > /dev/sg0, no?  Or perhaps I'm still not getting it - I'm kind of tired
> > and not thinking perhaps as straight as I should.  If anyone can clear
> > this up for me, I'd appreciate it.
> 
> sg0 will only do something if /proc/devices shows sg is there and it's
> complied in or sg is loaded as a module.  Just double checking if that's
> the problem.
lsmod:
<snip>
sg                     26624   0 
sr_mod                 12336   0 
sd_mod                 10880   0  (unused)
ide-scsi                7680   0 
aic7xxx               106192   0 
scsi_mod               90160   5  [usb-storage sg sr_mod sd_mod ide-scsi
aic7xxx]
<snip>

cat /proc/devices/
  1 mem
  2 pty
  3 ttyp
  4 ttyS
  5 cua
  6 lp
  7 vcs
 10 misc
 14 sound
 21 sg
 29 fb
 99 ppdev
128 ptm
136 pts
162 raw
180 usb
226 drm

Block devices:
  2 fd
  3 ide0
  7 loop
 11 sr
 22 ide1


It doesn't seem like that's the problem, but I don't know what is.
Thanks again all,
Steve
-- 
"Insofar as I may be heard by anything, which may or may not care
what I say, I ask, if it matters, that you be forgiven for anything
you may have done or failed to do which requires forgiveness.
Conversely, if not forgiveness but something else may be required to
insure any possible benefit for which you may be eligible after the
destruction of your body, I ask that this, whatever it may be,
be granted or withheld, as the case may be, in such a manner as to
insure your receiving said benefit. I ask this in my capacity as 
your elected intermediary between yourself and that which may not be
yourself, but which may have an interest in the matter of your
receiving as much as it is possible for you to receive of this
thing, and which may in some way be influenced by this ceremony. Amen."

Madrak, in _Creatures of Light and Darkness_, by Roger Zelazny

Attachment: pgpyermw5FqBY.pgp
Description: PGP signature


Reply to: