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 <gentoo-user+bounces-69325-garchives=archives.gentoo.org@gentoo.org>)
	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 <gentoo-user@lists.gentoo.org>; Tue, 11 Sep 2007 18:04:10 GMT
Received: by py-out-1112.google.com with SMTP id u77so3527677pyb
        for <gentoo-user@lists.gentoo.org>; 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: <a964044f0709111104p335c2a49kaf7dcbf2dc488415@mail.gmail.com>
Date: Tue, 11 Sep 2007 15:04:04 -0300
From: "Rafael Barrera Oro" <borafael@gmail.com>
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: <mailto:gentoo-user@lists.gentoo.org>
List-Help: <mailto:gentoo-user+help@gentoo.org>
List-Unsubscribe: <mailto:gentoo-user+unsubscribe@gentoo.org>
List-Subscribe: <mailto:gentoo-user+subscribe@gentoo.org>
List-Id: Gentoo Linux mail <gentoo-user.gentoo.org>
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 <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
> 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?<br><br><div><span class=3D"=
gmail_quote">2007/9/11, Renat Golubchyk &lt;<a href=3D"mailto:ragermany@gmx=
.net">ragermany@gmx.net</a>&gt;:</span><blockquote class=3D"gmail_quote" st=
yle=3D"border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex=
; padding-left: 1ex;">
Hi folks!<br><br>For years I&#39;ve been using cdrecord as a non-root user =
and without suid<br>bit set. Now it doesn&#39;t work any more. Here is the =
error message and<br>some other info:<br><br>=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
<br>$ cdrecord -eject -v -driveropts=3Dburnproof -data dev=3D/dev/cdrw<br>b=
igdisk/soft/operating_systems/ophcrack-livecd-1.2.2.iso<br>cdrecord: No wri=
te mode specified.<br>cdrecord: Asuming -sao mode.<br>cdrecord: If your dri=
ve does not accept -sao, try -tao.
<br>cdrecord: Future versions of cdrecord may have different drive<br>depen=
dent defaults.<br>Cdrecord-ProDVD-ProBD-Clone 2.01.01a34 (i686-pc-linux-gnu=
) Copyright<br>(C) 1995-2007 J=F6rg Schilling<br>TOC Type: 1 =3D CD-ROM<br>
cdrecord: Operation not permitted. Warning: Cannot raise RLIMIT_MEMLOCK<br>=
limits.cdrecord: Cannot allocate memory. WARNING: Cannot do mlockall(2).<br=
>cdrecord: WARNING: This causes a high risk for buffer underruns.<br>cdreco=
rd: Operation not permitted. WARNING: Cannot set RR-scheduler
<br>cdrecord: Permission denied. WARNING: Cannot set priority using<br>setp=
riority().<br>cdrecord: WARNING: This causes a high risk for buffer underru=
ns.<br>scsidev: &#39;/dev/cdrw&#39;<br>devname: &#39;/dev/cdrw&#39;<br>
scsibus: -2 target: -2 lun: -2<br>Warning: Open by &#39;devname&#39; is uni=
ntentional and not supported.<br>Linux sg driver version: 3.5.27<br>Using l=
ibscg version &#39;schily-0.9&#39;.<br>Driveropts: &#39;burnproof&#39;<br>
SCSI buffer size: 64512<br>atapi: 1<br>Device type&nbsp;&nbsp;&nbsp;&nbsp;:=
 Removable CD-ROM<br>Version&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;: 0<br>Response Format: 2<br>Capabilities&nbsp;&nbsp; :<br>Vendor_info&nbs=
p;&nbsp;&nbsp;&nbsp;: &#39;QSI&nbsp;&nbsp;&nbsp;&nbsp; &#39;<br>Identifikat=
ion : &#39;CDRW/DVD SBW-242&#39;
<br>Revision&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; : &#39;UX08&#39;<br>Device=
 seems to be: Generic mmc2 DVD-ROM.<br>Current: CD-RW<br>Profile: DVD-ROM<b=
r>Profile: CD-ROM<br>Profile: CD-R<br>Profile: CD-RW (current)<br>Using gen=
eric SCSI-3/mmc&nbsp;&nbsp; CD-R/CD-RW driver (mmc_cdr).
<br>Driver flags&nbsp;&nbsp; : MMC-3 SWABAUDIO BURNFREE<br>Supported modes:=
 TAO PACKET SAO SAO/R96P SAO/R96R RAW/R16 RAW/R96P<br>RAW/R96R<br>Drive buf=
 size : 1959936 =3D 1914 KB<br>FIFO size&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;: 4194304 =3D 4096 KB<br>Track 01: data&nbsp;&nbsp; 455 MB
<br>Total size:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;522 MB (51:47.76) =3D 23=
3082 sectors<br>Lout start:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;523 MB (51:4=
9/57) =3D 233082 sectors<br>cdrecord: Operation not permitted. Cannot send =
SCSI cmd via ioctl.<br>cdrecord: Operation not permitted. Cannot open or us=
e SCSI driver.
<br>cdrecord: For possible targets try &#39;cdrecord -scanbus&#39;. Make su=
re you<br>are root.<br>cdrecord: For possible transport specifiers try &#39=
;cdrecord dev=3Dhelp&#39;.<br><br>$ ll /dev/cdr*<br>lrwxrwxrwx 1 root root =
3 2007-09-11 16:21 /dev/cdrom -&gt; hdc
<br>lrwxrwxrwx 1 root root 3 2007-09-11 16:21 /dev/cdrw -&gt; hdc<br><br>$ =
ll /dev/hdc<br>brw-rw---- 1 root cdrom 22, 0 2007-09-11 16:21 /dev/hdc<br><=
br>$ groups<br>adm wheel cron audio cdrom video cdrw usb users locate porta=
ge plugdev
<br>=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<br=
><br>I can&#39;t find anything, neither in the ChangeLogs (ebuild or cdrtoo=
ls)<br>nor on the forums/bugzilla. Everybody seems to like the idea of burn=
ing
<br>CDs with root permissions. Can anybody point me in the right direction?=
<br><br><br>Thanks,<br>Renat<br><br>--<br>Probleme kann man niemals mit der=
selben Denkweise loesen,<br>durch die sie entstanden sind.<br>&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;(Einstein)
<br><br></blockquote></div><br>

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