1 |
Hi folks! |
2 |
|
3 |
For years I've been using cdrecord as a non-root user and without suid |
4 |
bit set. Now it doesn't work any more. Here is the error message and |
5 |
some other info: |
6 |
|
7 |
======================================================================== |
8 |
$ cdrecord -eject -v -driveropts=burnproof -data dev=/dev/cdrw |
9 |
bigdisk/soft/operating_systems/ophcrack-livecd-1.2.2.iso |
10 |
cdrecord: No write mode specified. |
11 |
cdrecord: Asuming -sao mode. |
12 |
cdrecord: If your drive does not accept -sao, try -tao. |
13 |
cdrecord: Future versions of cdrecord may have different drive |
14 |
dependent defaults. |
15 |
Cdrecord-ProDVD-ProBD-Clone 2.01.01a34 (i686-pc-linux-gnu) Copyright |
16 |
(C) 1995-2007 Jörg Schilling |
17 |
TOC Type: 1 = CD-ROM |
18 |
cdrecord: Operation not permitted. Warning: Cannot raise RLIMIT_MEMLOCK |
19 |
limits.cdrecord: Cannot allocate memory. WARNING: Cannot do mlockall(2). |
20 |
cdrecord: WARNING: This causes a high risk for buffer underruns. |
21 |
cdrecord: Operation not permitted. WARNING: Cannot set RR-scheduler |
22 |
cdrecord: Permission denied. WARNING: Cannot set priority using |
23 |
setpriority(). |
24 |
cdrecord: WARNING: This causes a high risk for buffer underruns. |
25 |
scsidev: '/dev/cdrw' |
26 |
devname: '/dev/cdrw' |
27 |
scsibus: -2 target: -2 lun: -2 |
28 |
Warning: Open by 'devname' is unintentional and not supported. |
29 |
Linux sg driver version: 3.5.27 |
30 |
Using libscg version 'schily-0.9'. |
31 |
Driveropts: 'burnproof' |
32 |
SCSI buffer size: 64512 |
33 |
atapi: 1 |
34 |
Device type : Removable CD-ROM |
35 |
Version : 0 |
36 |
Response Format: 2 |
37 |
Capabilities : |
38 |
Vendor_info : 'QSI ' |
39 |
Identifikation : 'CDRW/DVD SBW-242' |
40 |
Revision : 'UX08' |
41 |
Device seems to be: Generic mmc2 DVD-ROM. |
42 |
Current: CD-RW |
43 |
Profile: DVD-ROM |
44 |
Profile: CD-ROM |
45 |
Profile: CD-R |
46 |
Profile: CD-RW (current) |
47 |
Using generic SCSI-3/mmc CD-R/CD-RW driver (mmc_cdr). |
48 |
Driver flags : MMC-3 SWABAUDIO BURNFREE |
49 |
Supported modes: TAO PACKET SAO SAO/R96P SAO/R96R RAW/R16 RAW/R96P |
50 |
RAW/R96R |
51 |
Drive buf size : 1959936 = 1914 KB |
52 |
FIFO size : 4194304 = 4096 KB |
53 |
Track 01: data 455 MB |
54 |
Total size: 522 MB (51:47.76) = 233082 sectors |
55 |
Lout start: 523 MB (51:49/57) = 233082 sectors |
56 |
cdrecord: Operation not permitted. Cannot send SCSI cmd via ioctl. |
57 |
cdrecord: Operation not permitted. Cannot open or use SCSI driver. |
58 |
cdrecord: For possible targets try 'cdrecord -scanbus'. Make sure you |
59 |
are root. |
60 |
cdrecord: For possible transport specifiers try 'cdrecord dev=help'. |
61 |
|
62 |
$ ll /dev/cdr* |
63 |
lrwxrwxrwx 1 root root 3 2007-09-11 16:21 /dev/cdrom -> hdc |
64 |
lrwxrwxrwx 1 root root 3 2007-09-11 16:21 /dev/cdrw -> hdc |
65 |
|
66 |
$ ll /dev/hdc |
67 |
brw-rw---- 1 root cdrom 22, 0 2007-09-11 16:21 /dev/hdc |
68 |
|
69 |
$ groups |
70 |
adm wheel cron audio cdrom video cdrw usb users locate portage plugdev |
71 |
======================================================================== |
72 |
|
73 |
I can't find anything, neither in the ChangeLogs (ebuild or cdrtools) |
74 |
nor on the forums/bugzilla. Everybody seems to like the idea of burning |
75 |
CDs with root permissions. Can anybody point me in the right direction? |
76 |
|
77 |
|
78 |
Thanks, |
79 |
Renat |
80 |
|
81 |
-- |
82 |
Probleme kann man niemals mit derselben Denkweise loesen, |
83 |
durch die sie entstanden sind. |
84 |
(Einstein) |