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 1IVAA6-00038z-GW for garchives@archives.gentoo.org; Tue, 11 Sep 2007 18:08:34 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.14.0/8.14.0) with SMTP id l8BHxNoa019372; Tue, 11 Sep 2007 17:59:23 GMT Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by robin.gentoo.org (8.14.0/8.14.0) with SMTP id l8BHrWow012291 for ; Tue, 11 Sep 2007 17:53:32 GMT Received: (qmail invoked by alias); 11 Sep 2007 17:53:32 -0000 Received: from p54889E71.dip0.t-ipconnect.de (EHLO mating-tux) [84.136.158.113] by mail.gmx.net (mp047) with SMTP; 11 Sep 2007 19:53:32 +0200 X-Authenticated: #3423037 X-Provags-ID: V01U2FsdGVkX18iOdwyqxki2Xn25pLajlYxfg8DvFddxJDQKIfaK5 x6/z/rXFy6wMDC Date: Tue, 11 Sep 2007 19:53:15 +0200 From: Renat Golubchyk To: gentoo-user@lists.gentoo.org Subject: [gentoo-user] cdrecord says permission denied Message-ID: <20070911195315.45aeeb9d@mating-tux> X-Mailer: Claws Mail 3.0.0 (GTK+ 2.10.14; i686-pc-linux-gnu) 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/signed; boundary="Sig_.Y3lHcdS9h5z=fpCu4.F/wC"; protocol="application/pgp-signature"; micalg=PGP-SHA1 X-Y-GMX-Trusted: 0 X-Archives-Salt: 031ecadf-5307-457a-9bcf-334b3c6e9024 X-Archives-Hash: 1c0d4ba3b13cb52a1000e1b139b39f8d --Sig_.Y3lHcdS9h5z=fpCu4.F/wC Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable 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=20 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=C3=B6rg 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 :=20 Vendor_info : 'QSI ' Identifikation : 'CDRW/DVD SBW-242' Revision : 'UX08' Device seems to be: Generic mmc2 DVD-ROM. Current: CD-RW Profile: DVD-ROM=20 Profile: CD-ROM=20 Profile: CD-R=20 Profile: CD-RW (current) Using generic SCSI-3/mmc CD-R/CD-RW driver (mmc_cdr). Driver flags : MMC-3 SWABAUDIO BURNFREE=20 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 =20 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=20 brw-rw---- 1 root cdrom 22, 0 2007-09-11 16:21 /dev/hdc $ groups=20 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 --=20 Probleme kann man niemals mit derselben Denkweise loesen, durch die sie entstanden sind. (Einstein) --Sig_.Y3lHcdS9h5z=fpCu4.F/wC Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.6 (GNU/Linux) iD8DBQFG5tYQRZZXkGjHI/0RAvGkAJ0VpV1+Gg8NbkNUapnujbDI+MAq2gCfe3bz r5Kry6WdFpA7ZIzGBkzWFls= =II7O -----END PGP SIGNATURE----- --Sig_.Y3lHcdS9h5z=fpCu4.F/wC-- -- gentoo-user@gentoo.org mailing list