VectorLinux

Please login or register.

Login with username, password and session length
Advanced search  

News:

Visit our home page for VL info. For support and documentation, visit the Vector Linux Knowledge Center or search the Knowledge Center and this Forum using the search box above.

Author Topic: Cdrecord Error ( Permissions? )  (Read 2313 times)

gacl

  • Vectorite
  • ***
  • Posts: 218
Cdrecord Error ( Permissions? )
« on: January 09, 2008, 07:18:09 pm »

cdrecord is giving me this error:

Quote
usr:$ cdrecord dev=/dev/cdrom speed=16 padsize=64s -pad -sao -v ReactOS-LiveCD.iso
Cdrecord-ProDVD-Clone 2.01.01a23 (i686-pc-linux-gnu) Copyright (C) 1995-2006 Jörg Schilling
cdrecord: Warning: Running on Linux-2.6.22.14
cdrecord: There are unsettled issues with Linux-2.5 and newer.
cdrecord: If you have unexpected problems, please try Linux-2.4 or Solaris.
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.
scsidev: '/dev/cdrom'
devname: '/dev/cdrom'
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    : 'HL-DT-ST'
Identifikation : 'RW/DVD GCC-4240N'
Revision       : '0111'
Device seems to be: Generic mmc2 DVD-ROM.
Current: CD-R
Profile: DVD-ROM
Profile: CD-ROM
Profile: CD-R (current)
Profile: CD-RW
Using generic SCSI-3/mmc   CD-R/CD-RW driver (mmc_cdr).
Driver flags   : MMC-2 SWABAUDIO BURNFREE
Supported modes: TAO PACKET SAO SAO/R96P SAO/R96R RAW/R16 RAW/R96P RAW/R96R
Drive buf size : 1705200 = 1665 KB
FIFO size      : 4194304 = 4096 KB
Track 01: data    80 MB         padsize:  128 KB
Total size:       92 MB (09:07.52) = 41064 sectors
Lout start:       92 MB (09:09/39) = 41064 sectors
cdrecord: Operation not permitted. Cannot send SCSI cmd via ioctl

I suppose this is a permissions problem?

Gus
Logged
“Our very lives depend on the ethics of strangers, and most of us are always strangers to other people.” -- Bill Moyers

gacl

  • Vectorite
  • ***
  • Posts: 218
Re: Cdrecord Error ( Permissions? )
« Reply #1 on: January 09, 2008, 07:49:32 pm »

Nevermind. . . i'll accept defeat and do it as root. Didn't 5.8 let the user burn CDs straight out of the box? ( as far as cdrecord? )

By the way, this is my 100th post! Do i get a blue star or something? A 1337 hax0r medal?

Gus
Logged
“Our very lives depend on the ethics of strangers, and most of us are always strangers to other people.” -- Bill Moyers

gacl

  • Vectorite
  • ***
  • Posts: 218
Re: Cdrecord Error ( Permissions? )
« Reply #2 on: January 09, 2008, 08:08:09 pm »

Stupid ReactOS still won't boot in my system. Grrr. . .
Logged
“Our very lives depend on the ethics of strangers, and most of us are always strangers to other people.” -- Bill Moyers

The Headacher

  • Louder than you
  • Global Moderator
  • Vectorian
  • *****
  • Posts: 1553
  • I like the bass to go BOOM!
    • Multimedia on VL (work in progress)
Re: Cdrecord Error ( Permissions? )
« Reply #3 on: January 10, 2008, 09:16:04 am »

For future reference: if you have k3b installed (it comes with 5.9 standard), you can use k3bsetup to set the permissions. It sets them to 4711. If you want to change the permissions from commandline you can do it like this:
Code: [Select]
chmod 4711 /usr/bin/cdrecord
Logged
Most music on my soundcloud page was arranged in programs running on VL.

gacl

  • Vectorite
  • ***
  • Posts: 218
Re: Cdrecord Error ( Permissions? )
« Reply #4 on: January 10, 2008, 06:16:48 pm »

Actually, i did take a look at the k3b set-up, because i remember that xcdroast had to be set up also, but i couldn't figure it out and i was in a hurry.

I did want to use chmod but i was afraid to break something. For instance, i didn't know about the SUID part that you just showed me. I learned something new today. Thanks.

Gus
Logged
“Our very lives depend on the ethics of strangers, and most of us are always strangers to other people.” -- Bill Moyers