public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] cdrecord says permission denied
@ 2007-09-11 17:53 Renat Golubchyk
  2007-09-11 18:04 ` Rafael Barrera Oro
  0 siblings, 1 reply; 6+ messages in thread
From: Renat Golubchyk @ 2007-09-11 17:53 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 3170 bytes --]

Hi folks!

For years I've been using cdrecord as a non-root user and without suid
bit set. Now it doesn't work any more. Here is the error message and
some other info:

========================================================================
$ cdrecord -eject -v -driveropts=burnproof -data dev=/dev/cdrw
bigdisk/soft/operating_systems/ophcrack-livecd-1.2.2.iso 
cdrecord: No write mode specified.
cdrecord: Asuming -sao mode.
cdrecord: If your drive does not accept -sao, try -tao.
cdrecord: Future versions of cdrecord may have different drive
dependent defaults.
Cdrecord-ProDVD-ProBD-Clone 2.01.01a34 (i686-pc-linux-gnu) Copyright
(C) 1995-2007 Jörg Schilling
TOC Type: 1 = CD-ROM
cdrecord: Operation not permitted. Warning: Cannot raise RLIMIT_MEMLOCK
limits.cdrecord: Cannot allocate memory. WARNING: Cannot do mlockall(2).
cdrecord: WARNING: This causes a high risk for buffer underruns.
cdrecord: Operation not permitted. WARNING: Cannot set RR-scheduler
cdrecord: Permission denied. WARNING: Cannot set priority using
setpriority().
cdrecord: WARNING: This causes a high risk for buffer underruns.
scsidev: '/dev/cdrw'
devname: '/dev/cdrw'
scsibus: -2 target: -2 lun: -2
Warning: Open by 'devname' is unintentional and not supported.
Linux sg driver version: 3.5.27
Using libscg version 'schily-0.9'.
Driveropts: 'burnproof'
SCSI buffer size: 64512
atapi: 1
Device type    : Removable CD-ROM
Version        : 0
Response Format: 2
Capabilities   : 
Vendor_info    : 'QSI     '
Identifikation : 'CDRW/DVD SBW-242'
Revision       : 'UX08'
Device seems to be: Generic mmc2 DVD-ROM.
Current: CD-RW
Profile: DVD-ROM 
Profile: CD-ROM 
Profile: CD-R 
Profile: CD-RW (current)
Using generic SCSI-3/mmc   CD-R/CD-RW driver (mmc_cdr).
Driver flags   : MMC-3 SWABAUDIO BURNFREE 
Supported modes: TAO PACKET SAO SAO/R96P SAO/R96R RAW/R16 RAW/R96P
RAW/R96R
Drive buf size : 1959936 = 1914 KB
FIFO size      : 4194304 = 4096 KB
Track 01: data   455 MB        
Total size:      522 MB (51:47.76) = 233082 sectors
Lout start:      523 MB (51:49/57) = 233082 sectors
cdrecord: Operation not permitted. Cannot send SCSI cmd via ioctl.
cdrecord: Operation not permitted. Cannot open or use SCSI driver.
cdrecord: For possible targets try 'cdrecord -scanbus'. Make sure you
are root.
cdrecord: For possible transport specifiers try 'cdrecord dev=help'.

$ ll /dev/cdr*
lrwxrwxrwx 1 root root 3 2007-09-11 16:21 /dev/cdrom -> hdc
lrwxrwxrwx 1 root root 3 2007-09-11 16:21 /dev/cdrw -> hdc

$ ll /dev/hdc 
brw-rw---- 1 root cdrom 22, 0 2007-09-11 16:21 /dev/hdc

$ groups 
adm wheel cron audio cdrom video cdrw usb users locate portage plugdev
========================================================================

I can't find anything, neither in the ChangeLogs (ebuild or cdrtools)
nor on the forums/bugzilla. Everybody seems to like the idea of burning
CDs with root permissions. Can anybody point me in the right direction?


Thanks,
Renat

-- 
Probleme kann man niemals mit derselben Denkweise loesen,
durch die sie entstanden sind.
                                              (Einstein)

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2007-09-11 22:46 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-09-11 17:53 [gentoo-user] cdrecord says permission denied Renat Golubchyk
2007-09-11 18:04 ` Rafael Barrera Oro
2007-09-11 19:19   ` Renat Golubchyk
2007-09-11 19:32     ` Rafael Barrera Oro
2007-09-11 21:27     ` Stephen Wittig
2007-09-11 22:31       ` Renat Golubchyk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox