uprawnienienia i nagrywanie cd

Tomasz P. tom_wiz w poczta.onet.pl
Czw, 9 Wrz 2004, 17:51:45 CEST


Witam

Mam taki problemik z uprawnieniami:
user robi tak:
$ cdrecord dev=/dev/hdd speed=4 blank=fast
Cdrecord-Clone 2.01a35 (i686-pc-linux-gnu) Copyright (C) 1995-2004 Jörg 
Schilling
cdrecord: Operation not permitted. 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/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.8'.
Device type    : Removable CD-ROM
Version        : 0
Response Format: 2
Capabilities   :
Vendor_info    : 'LITE-ON '
Identifikation : 'DVDRW SOHW-812S '
Revision       : 'US0J'
Device seems to be: Generic mmc2 DVD-R/DVD-RW.
cdrecord: This version of cdrecord does not include DVD-R/DVD-RW support code.
cdrecord: If you need DVD-R/DVD-RW support, ask the Author for 
cdrecord-ProDVD.
cdrecord: Free test versions and free keys for personal use are at 
ftp://ftp.berlios.de/pub/cdrecord/ProDVD/
Using generic SCSI-3/mmc   CD-R/CD-RW driver (mmc_cdr).
Driver flags   : MMC-3 SWABAUDIO BURNFREE FORCESPEED
Supported modes:
cdrecord: Operation not permitted. prevent/allow medium removal: scsi sendcmd: 
no error
CDB:  1E 00 00 00 01 00
status: 0x0 (GOOD STATUS)
cmd finished after 0.000s timeout 40s
cdrecord: Cannot init drive.

spod kąta roota to działa.
uprawnienia /dev/hdd:
$ ls -la|grep hdd
lrwxr-xr-x    1 root     root            3 2004-08-31 19:12 cdrom1 -> hdd
brw-rw-rw-    1 root     disk      22,  64 2003-12-09 07:22 hdd

Co można/należy zminić ?
(kernel-2.6.8.1, cdrtools-2.01a35-1)
(ide-cd skompilowany jako moduł, bez wpisów w modprobe.conf)

Pozdrawiam
Tomasz Porowski




Więcej informacji o liście dyskusyjnej pld-users-pl