Bill Jonas on Wed, 12 Jun 2002 23:44:53 -0400


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

Re: [PLUG] cdrom mounting


On Mon, Jun 10, 2002 at 10:54:06PM -0400, Arthur S. Alexion wrote:
> On Monday 10 June 2002 10:54 am, Bill Jonas wrote:
> > # ln -s hdb /dev/cdrom
> 
> Now I am more confused.

Sorry, I sent the above rather hastily before I understood the full
ramifications of the problem.  Please ignore. :)

> Also, the owner is not root, but arthur (my username), and the read
> and right permissions are for user only, not the disk group.

I've noticed that on a RedHat system I have at work the CD-ROM device
file (/dev/scd0 in my case, as it's an IDE CD burner[1]) will have my
UID as its owner.  I don't know if this is because of RedHat's annoying
automounter or because I logged in (and ran X from KDM (or XDM or GDM,
I'm not sure)).  (I just checked on a RH system here, and it appears to
be caused by logging in while physically at the machine.  Yet another
interesting "feature".)

So no, don't bother changing the ownership and permissions on the CD-ROM
device, as it'll just get changed the next time someone logs in at the
(physical) console.

[1] Why the hell does Linux require CD burners to be emulated SCSI
devices?  It's really bloody annoying.  At least one of the BSDs,
FreeBSD, doesn't need that; burncd(1) claims/seems to work just fine on
IDE devices, not.  (For SCSI devices, they provide cdrecord(1).)  Hmm, I
wonder how hard it would be to port this...

-- 
Bill Jonas    *    bill@billjonas.com    *    http://www.billjonas.com/
"They that can give up  essential  liberty to obtain a little temporary
safety deserve neither liberty nor safety."        -- Benjamin Franklin

Attachment: pgpBos2wJMTyS.pgp
Description: PGP signature