From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1IVAIc-0003kN-5W for garchives@archives.gentoo.org; Tue, 11 Sep 2007 18:17:22 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.14.0/8.14.0) with SMTP id l8BI8p4h030890; Tue, 11 Sep 2007 18:08:51 GMT Received: from py-out-1112.google.com (py-out-1112.google.com [64.233.166.182]) by robin.gentoo.org (8.14.0/8.14.0) with ESMTP id l8BI4Ah9025805 for ; Tue, 11 Sep 2007 18:04:10 GMT Received: by py-out-1112.google.com with SMTP id u77so3527677pyb for ; Tue, 11 Sep 2007 11:04:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; bh=ewmWsQqDZgGVM/7OU9mxma38s376UjKOKolGjqTVljs=; b=QQFo4ILa88A8+CjYKzexAg0d4VHGFV5QolyKPNW0XPhoKqvfeCuNX/wHX3T1MuvUjN6lWrZiNiszguCMkj8wUINHG/IsiBNq6M3xBWe6VTu+j4ZbUK86xGZ59oqOQoBkzFAc21nKt3H3sGfmC3JyQ4OB0J5grDVqTn0tEO2TX+g= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=oJvXLOpvWhCYliXdFTaIPx39Juo7wYbQqOKSMoW2UNqUVlzNpVVvmLE0s0d/5QExOpPxhTyh2HUul6/OL2VY2exDHRYRMXc9PyEg3FZe5rwOKqKlErbmbo+CNXw60TGRRuPyfLG9YtxEHZh39zw441EADiKL5Y/1mvPIhhS3y9Q= Received: by 10.65.251.17 with SMTP id d17mr12573945qbs.1189533844455; Tue, 11 Sep 2007 11:04:04 -0700 (PDT) Received: by 10.65.124.11 with HTTP; Tue, 11 Sep 2007 11:04:04 -0700 (PDT) Message-ID: Date: Tue, 11 Sep 2007 15:04:04 -0300 From: "Rafael Barrera Oro" To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] cdrecord says permission denied In-Reply-To: <20070911195315.45aeeb9d@mating-tux> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_18357_21586097.1189533844430" References: <20070911195315.45aeeb9d@mating-tux> X-Archives-Salt: fe14622c-2dd0-4460-b353-64b0c9393a7a X-Archives-Hash: 734386b59ce0413b07f327a4c04f3b4b ------=_Part_18357_21586097.1189533844430 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline did you try adding yourself to the cdrom group? 2007/9/11, Renat Golubchyk : > > Hi folks! > > For years I've been using cdrecord as a non-root user and without suid > bit set. Now it doesn't work any more. Here is the error message and > some other info: > > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > $ cdrecord -eject -v -driveropts=3Dburnproof -data dev=3D/dev/cdrw > bigdisk/soft/operating_systems/ophcrack-livecd-1.2.2.iso > cdrecord: No write mode specified. > cdrecord: Asuming -sao mode. > cdrecord: If your drive does not accept -sao, try -tao. > cdrecord: Future versions of cdrecord may have different drive > dependent defaults. > Cdrecord-ProDVD-ProBD-Clone 2.01.01a34 (i686-pc-linux-gnu) Copyright > (C) 1995-2007 J=F6rg Schilling > TOC Type: 1 =3D 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/cdrw' > devname: '/dev/cdrw' > 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'. > Driveropts: 'burnproof' > SCSI buffer size: 64512 > atapi: 1 > Device type : Removable CD-ROM > Version : 0 > Response Format: 2 > Capabilities : > Vendor_info : 'QSI ' > Identifikation : 'CDRW/DVD SBW-242' > Revision : 'UX08' > Device seems to be: Generic mmc2 DVD-ROM. > Current: CD-RW > Profile: DVD-ROM > Profile: CD-ROM > Profile: CD-R > Profile: CD-RW (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/R96P SAO/R96R RAW/R16 RAW/R96P > RAW/R96R > Drive buf size : 1959936 =3D 1914 KB > FIFO size : 4194304 =3D 4096 KB > Track 01: data 455 MB > Total size: 522 MB (51:47.76) =3D 233082 sectors > Lout start: 523 MB (51:49/57) =3D 233082 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=3Dhelp'. > > $ ll /dev/cdr* > lrwxrwxrwx 1 root root 3 2007-09-11 16:21 /dev/cdrom -> hdc > lrwxrwxrwx 1 root root 3 2007-09-11 16:21 /dev/cdrw -> hdc > > $ ll /dev/hdc > brw-rw---- 1 root cdrom 22, 0 2007-09-11 16:21 /dev/hdc > > $ groups > adm wheel cron audio cdrom video cdrw usb users locate portage plugdev > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > > I can't find anything, neither in the ChangeLogs (ebuild or cdrtools) > nor on the forums/bugzilla. Everybody seems to like the idea of burning > CDs with root permissions. Can anybody point me in the right direction? > > > Thanks, > Renat > > -- > Probleme kann man niemals mit derselben Denkweise loesen, > durch die sie entstanden sind. > (Einstein) > > ------=_Part_18357_21586097.1189533844430 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline did you try adding yourself to the cdrom group?

2007/9/11, Renat Golubchyk <ragermany@gmx.net>:
Hi folks!

For years I've been using cdrecord as a non-root user = and without suid
bit set. Now it doesn't work any more. Here is the = error message and
some other info:

=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
$ cdrecord -eject -v -driveropts=3Dburnproof -data dev=3D/dev/cdrw
b= igdisk/soft/operating_systems/ophcrack-livecd-1.2.2.iso
cdrecord: No wri= te mode specified.
cdrecord: Asuming -sao mode.
cdrecord: If your dri= ve does not accept -sao, try -tao.
cdrecord: Future versions of cdrecord may have different drive
depen= dent defaults.
Cdrecord-ProDVD-ProBD-Clone 2.01.01a34 (i686-pc-linux-gnu= ) Copyright
(C) 1995-2007 J=F6rg Schilling
TOC Type: 1 =3D 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.
cdreco= rd: Operation not permitted. WARNING: Cannot set RR-scheduler
cdrecord: Permission denied. WARNING: Cannot set priority using
setp= riority().
cdrecord: WARNING: This causes a high risk for buffer underru= ns.
scsidev: '/dev/cdrw'
devname: '/dev/cdrw'
scsibus: -2 target: -2 lun: -2
Warning: Open by 'devname' is uni= ntentional and not supported.
Linux sg driver version: 3.5.27
Using l= ibscg version 'schily-0.9'.
Driveropts: 'burnproof'
SCSI buffer size: 64512
atapi: 1
Device type    := Removable CD-ROM
Version        = ;: 0
Response Format: 2
Capabilities   :
Vendor_info&nbs= p;   : 'QSI     '
Identifikat= ion : 'CDRW/DVD SBW-242'
Revision       : 'UX08'
Device= seems to be: Generic mmc2 DVD-ROM.
Current: CD-RW
Profile: DVD-ROMProfile: CD-ROM
Profile: CD-R
Profile: CD-RW (current)
Using gen= eric SCSI-3/mmc   CD-R/CD-RW driver (mmc_cdr).
Driver flags   : MMC-3 SWABAUDIO BURNFREE
Supported modes:= TAO PACKET SAO SAO/R96P SAO/R96R RAW/R16 RAW/R96P
RAW/R96R
Drive buf= size : 1959936 =3D 1914 KB
FIFO size      = ;: 4194304 =3D 4096 KB
Track 01: data   455 MB
Total size:      522 MB (51:47.76) =3D 23= 3082 sectors
Lout start:      523 MB (51:4= 9/57) =3D 233082 sectors
cdrecord: Operation not permitted. Cannot send = SCSI cmd via ioctl.
cdrecord: Operation not permitted. Cannot open or us= e SCSI driver.
cdrecord: For possible targets try 'cdrecord -scanbus'. Make su= re you
are root.
cdrecord: For possible transport specifiers try '= ;cdrecord dev=3Dhelp'.

$ ll /dev/cdr*
lrwxrwxrwx 1 root root = 3 2007-09-11 16:21 /dev/cdrom -> hdc
lrwxrwxrwx 1 root root 3 2007-09-11 16:21 /dev/cdrw -> hdc

$ = ll /dev/hdc
brw-rw---- 1 root cdrom 22, 0 2007-09-11 16:21 /dev/hdc
<= br>$ groups
adm wheel cron audio cdrom video cdrw usb users locate porta= ge plugdev
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
I can't find anything, neither in the ChangeLogs (ebuild or cdrtoo= ls)
nor on the forums/bugzilla. Everybody seems to like the idea of burn= ing
CDs with root permissions. Can anybody point me in the right direction?=


Thanks,
Renat

--
Probleme kann man niemals mit der= selben Denkweise loesen,
durch die sie entstanden sind.
  &= nbsp;           &nbs= p;            &= nbsp;           &nbs= p;      (Einstein)


------=_Part_18357_21586097.1189533844430-- -- gentoo-user@gentoo.org mailing list