Mailing List Archive

Support open source code!


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

Re: [tlug] CD Writers



On 日, 2002-03-03 at 23:45, A.Sajjad Zaidi wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> On Sun, Mar 03, 2002 at 12:14:38PM -0600, Stuart Luppescu wrote:
> > 
> > I'm using cdrecord (which contains mkisofs, and a bunch of other stuff),
> > cdlabelgen, and gcombust, a front end for the first two. It works fine
> > as root, but I can't get it to run as a regular user. I get this kind of
> > messages:
> > /usr/bin/cdrecord: Operation not permitted. WARNING: Cannot do
> > mlockall(2).
> > /usr/bin/cdrecord: WARNING: This causes a high risk for buffer
> > underruns.
> > /usr/bin/cdrecord: Operation not permitted. WARNING: Cannot set
> > RR-scheduler
> > /usr/bin/cdrecord: Permission denied. WARNING: Cannot set priority using
> > setpriority().
> > /usr/bin/cdrecord: WARNING: This causes a high risk for buffer
> > underruns.
> > scsidev: '0,1,0'
> > scsibus: 0 target: 1 lun: 0
> > Linux sg driver version: 3.1.20
> > 
> > I've set the console.perms so I own the devices, so I know that's not
> > the problem. Anyone have any ideas?
 
> This is very likely a permissions problem since it runs fine as root.
> Permission to write to a single device is usually not enough for
> burning CDs. Check /dev/sg* and /dev/scd* and make sure you have write
> permission.

Well, I don't have /dev/scd*, but I do have /dev/sg1 and /dev/sr1. The
former is a link to /dev/scsi/host0/bus0/target1/lun0/generic and the
latter a link to /dev/scsi/host0/bus0/target1/lun0/cd. The original
devices show these permissions:
ll /dev/scsi/host0/bus0/target1/lun0/*
crw-------    1 sl70     root      21,   1 Dec 31  1969 \
/dev/scsi/host0/bus0/target1/lun0/generic
brw-------    1 sl70     disk      11,   1 Dec 31  1969 \
/dev/scsi/host0/bus0/target1/lun0/cd

but the links are 555. and owned by root. I still don't get it.
-- 
Stuart Luppescu -=- s-luppescu@example.com        
University of Chicago -=- CCSR 
才文と智奈美の父 -=-    Kernel 2.4.14-xfs                
War isn't a good life, but it's life.   -- Kirk, "A
 Private Little War", stardate 4211.8 
 

Attachment: signature.asc
Description: This is a digitally signed message part


Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links