Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 130339 - cdrtools-2.01-r3 permission problem
Summary: cdrtools-2.01-r3 permission problem
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo Optical Media project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-04-18 02:32 UTC by Rene Zbinden
Modified: 2006-04-22 08:18 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Rene Zbinden 2006-04-18 02:32:34 UTC
I updated form cdrtools-2.01-r1 to cdrtools-2.01-r3 and since then it is not possible to burn cds as normal user. Here is the output of k3b:

System
-----------------------
K3b Version: 0.12.8

KDE Version: 3.4.3
QT Version:  3.3.4
Kernel:      2.6.15-gentoo-r1
Devices
-----------------------
ASUS DVD-ROM E616 2.0 (/dev/hdd, ) at  [CD-ROM; DVD-ROM] [DVD-ROM; CD-ROM] [None]

PLEXTOR CD-R   PX-W4824A 1.03 (/dev/hdc, ) at  [CD-R; CD-RW; CD-ROM] [CD-ROM; CD-R; CD-RW] [SAO; TAO; RAW; SAO/R96P; SAO/R96R; RAW/R16; RAW/R96P; RAW/R96R]
Used versions
-----------------------
cdrecord: 2.1.1a06

cdrecord
-----------------------
/usr/bin/cdrecord: Operation not permitted. Warning: Cannot raise RLIMIT_MEMLOCK limits.
/usr/bin/cdrecord: Cannot allocate memory. 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: '/dev/hdc'
devname: '/dev/hdc'
scsibus: -2 target: -2 lun: -2
Warning: Open by 'devname' is unintentional and not supported.
Linux sg driver version: 3.5.27
SCSI buffer size: 64512
/usr/bin/cdrecord: Operation not permitted. Cannot send SCSI cmd via ioctl
Cdrecord-Clone 2.01.01a06 (i686-pc-linux-gnu) Copyright (C) 1995-2006 J
Comment 1 Rene Zbinden 2006-04-18 02:32:34 UTC
I updated form cdrtools-2.01-r1 to cdrtools-2.01-r3 and since then it is not possible to burn cds as normal user. Here is the output of k3b:

System
-----------------------
K3b Version: 0.12.8

KDE Version: 3.4.3
QT Version:  3.3.4
Kernel:      2.6.15-gentoo-r1
Devices
-----------------------
ASUS DVD-ROM E616 2.0 (/dev/hdd, ) at  [CD-ROM; DVD-ROM] [DVD-ROM; CD-ROM] [None]

PLEXTOR CD-R   PX-W4824A 1.03 (/dev/hdc, ) at  [CD-R; CD-RW; CD-ROM] [CD-ROM; CD-R; CD-RW] [SAO; TAO; RAW; SAO/R96P; SAO/R96R; RAW/R16; RAW/R96P; RAW/R96R]
Used versions
-----------------------
cdrecord: 2.1.1a06

cdrecord
-----------------------
/usr/bin/cdrecord: Operation not permitted. Warning: Cannot raise RLIMIT_MEMLOCK limits.
/usr/bin/cdrecord: Cannot allocate memory. 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: '/dev/hdc'
devname: '/dev/hdc'
scsibus: -2 target: -2 lun: -2
Warning: Open by 'devname' is unintentional and not supported.
Linux sg driver version: 3.5.27
SCSI buffer size: 64512
/usr/bin/cdrecord: Operation not permitted. Cannot send SCSI cmd via ioctl
Cdrecord-Clone 2.01.01a06 (i686-pc-linux-gnu) Copyright (C) 1995-2006 Jörg Schilling
TOC Type: 1 = CD-ROM
Using libscg version 'schily-0.8'.
Driveropts: 'burnfree'
atapi: 1
Device type    : Removable CD-ROM
Version        : 0
Response Format: 1
Vendor_info    : 'PLEXTOR '
Identifikation : 'CD-R   PX-W4824A'
Revision       : '1.03'
Device seems to be: Generic mmc CD-RW.
Current: 0x0009
Profile: 0x0008 
Profile: 0x0009 (current)
Profile: 0x000A 

cdrecord command:
-----------------------
/usr/bin/cdrecord -v gracetime=2 dev=/dev/hdc speed=48 -dao driveropts=burnfree -eject -data /mnt/usbdisk/redhat/x86-64/rheles4u3/RHEL4-U3-x86_64-ES-disc2.iso 

It works when I start k3b as root.
Comment 2 Luis Medinas (RETIRED) gentoo-dev 2006-04-22 08:18:42 UTC
you need to run k3b setup and add your user to the right groups.