Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 195546 - app-cdr/cdrtools-2.01.01_alpha32 & alpha34 don`t work under user
Summary: app-cdr/cdrtools-2.01.01_alpha32 & alpha34 don`t work under user
Status: RESOLVED DUPLICATE of bug 116026
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
Depends on:
Reported: 2007-10-11 21:31 UTC by Oleksandr Pilipenko
Modified: 2007-10-11 21:34 UTC (History)
0 users

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


Note You need to log in before you can comment on or make changes to this bug.
Description Oleksandr Pilipenko 2007-10-11 21:31:29 UTC
From root all works.
From user filin:
filin$ cdrecord -scanbus
Cdrecord-ProDVD-ProBD-Clone 2.01.01a34 (i686-pc-linux-gnu) Copyright (C) 1995-2007 Jörg Schilling
cdrecord: Permission denied. Cannot open '/dev/hda'. 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'.

filin$mkisofs -r -f -J -V "CD" * |cdrecord -tao -multi -waiti -eject -v speed=32 fs=16m dev=/dev/hdd -data -pad -
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.
Setting input-charset to 'UTF-8' from locale.
Waiting for data on stdin...
scsidev: '/dev/hdd'
devname: '/dev/hdd'
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'.
SCSI buffer size: 64512
atapi: 1
Device type    : Removable CD-ROM
Version        : 0
Response Format: 2
Capabilities   : 
Vendor_info    : '_NEC    '
Identifikation : 'DVD_RW ND-3570A '
Revision       : '1.11'
Device seems to be: Generic mmc2 DVD-R/DVD-RW/DVD-RAM.
Current: CD-RW
Profile: DVD+R/DL 
Profile: DVD+R 
Profile: DVD+RW 
Profile: DVD-R/DL sequential recording 
Profile: DVD-RW sequential recording 
Profile: DVD-RW restricted overwrite 
Profile: DVD-R sequential recording 
Profile: DVD-ROM 
Profile: CD-RW (current)
Profile: CD-R 
Profile: CD-ROM (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/R96R RAW/R96R
Drive buf size : 1343488 = 1312 KB
FIFO size      : 16777216 = 16384 KB
Track 01: data  unknown length padsize:   30 KB
Total size:        0 MB (00:00.00) = 0 sectors
Lout start:        0 MB (00:02/00) = 0 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'.

Reproducible: Always

$ emerge --info
Portage (default-linux/x86/2007.0, gcc-4.2.1, glibc-2.6.1-r0, 2.6.22-gentoo-r8-filin i686)
System uname: 2.6.22-gentoo-r8-filin i686 AMD Duron(tm) processor
Timestamp of tree: Wed, 10 Oct 2007 02:00:05 +0000
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p17-r1
dev-java/java-config: 1.3.7, 2.1.1
dev-lang/python:     2.5.1-r2
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 1.12.10-r5
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r3
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.22-r2
CFLAGS="-O2 -mcpu=athlon-tbird -mtune=athlon-tbird -march=athlon-tbird -pipe -mno-sse -mmmx -m3dnow -fomit-frame-pointer"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -mcpu=athlon-tbird -mtune=athlon-tbird -march=athlon-tbird -pipe -mno-sse -mmmx -m3dnow -fomit-frame-pointer"
FEATURES="ccache distlocks metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch"
LINGUAS="uk ru"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
USE="X a52 aac acl alsa avahi bash-completion berkdb bitmap-fonts bluetooth bzip2 cli cracklib crypt cups dbus dri dvd dvdr dvdread encode esd exif ffmpeg flac fortran gdbm gif glitz gnome gpm gtk hal iconv isdnlog java jpeg lm_sensors logrotate mad mailwrapper midi mp3 mpeg mudflap ncurses nls nptl nptlonly ogg opengl openmp pam pcre pdf perl png pppd python readline reflection session spell spl ssl startup-notification svg tcpd theora tiff truetype truetype-fonts type1-fonts unicode usb vim-syntax vorbis win32codecs x86 xorg xulrunner xv zlib" ALSA_CARDS="via82xx emu10k1 usb-audio" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="uk ru" USERLAND="GNU" VIDEO_CARDS="nv vesa nvidia"

$ ls -l /dev/hd?
brw-r----- 1 root disk   3,  0 2007-10-11 21:37 /dev/hda
brw-rw---- 1 root cdrom 22, 64 2007-10-11 21:37 /dev/hdd

$ ls -l /dev/cdrom
lrwxrwxrwx 1 root root 3 2007-10-11 21:37 /dev/cdrom -> hdd

filin@owlsjack ~ $ cat /etc/group|grep cdrom
filin@owlsjack ~ $ cat /etc/group|grep cdrw
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-10-11 21:34:29 UTC
Use app-cdr/cdrkit or get this fixed upstream. Thanks.

*** This bug has been marked as a duplicate of bug 116026 ***