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